SQL Query to Relational Algebra -


i have query:

select distinct a.aanbieding_id aankoop  2 <= (select count(*) aankoop a.aanbieding_id = aankoop.aanbieding_id)  order aanbieding_id 

and wanne make relational algebra scheme of query, solution is:

πid(f(count)(aanbieding_id)>=2(aankoop)) 

but i'm pretty sure wrong, can me please


Comments

Popular posts from this blog

angularjs - Redirect to a new template in angular js -

Oracle SQL. How to select specific IDs where value of columns specify criteria? -

Desktop Launcher for Python Script Starts Program in Wrong Path (Linux) -