Find the albums with 12 or more tracks. Can anyone help me? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

Find the albums with 12 or more tracks. Can anyone help me?

I have a set of data in tables consisting of ER diagram and there are relationships between them and some of them The table of albums and table of tracks, and he asked me the following: Find the albums with 12 or more tracks. Can anyone help me?

2nd Jul 2021, 5:06 PM
pasant Hussein
pasant Hussein - avatar
16 Answers
+ 1
If i knew what exactly the table looks like i might have helped!
2nd Jul 2021, 5:20 PM
Abhay
Abhay - avatar
+ 1
Select from .... where .... it is almost the same as plain English
2nd Jul 2021, 5:53 PM
Shadoff
Shadoff - avatar
+ 1
pasant Hussein what have you written so far ? Sololearn is a self learning platform and we don't encourage direct answers . Also you can upload the image on many online sites free or paid and have the link posted here . you can also post images in your post feed
2nd Jul 2021, 5:56 PM
Abhay
Abhay - avatar
+ 1
Yes, because you trying to get only albums' id which higher than or equal to 12!!!! Instead you need to select album IDs which track amount is higher than or equal to 12
2nd Jul 2021, 6:01 PM
Shadoff
Shadoff - avatar
+ 1
Use count
3rd Jul 2021, 4:49 AM
Shadoff
Shadoff - avatar
+ 1
Have you solved or it is not necessary already? Cuz I have a solution
4th Jul 2021, 8:59 AM
Shadoff
Shadoff - avatar
+ 1
Where did you get this task? Is it from SL or it is your school task?
4th Jul 2021, 9:10 AM
Shadoff
Shadoff - avatar
+ 1
No thanks no nothing... Perfect!!! I am deleting answer and put you to the black list.
4th Jul 2021, 3:33 PM
Shadoff
Shadoff - avatar
0
I hope that 🤍
2nd Jul 2021, 5:48 PM
pasant Hussein
pasant Hussein - avatar
0
I do not get you I write that Select albumid From tracks Where albumid >= 12 ;
2nd Jul 2021, 5:56 PM
pasant Hussein
pasant Hussein - avatar
0
But it had some thing wrong
2nd Jul 2021, 5:57 PM
pasant Hussein
pasant Hussein - avatar
0
But what do you mean by track amount?? Which column did you mean?
2nd Jul 2021, 6:04 PM
pasant Hussein
pasant Hussein - avatar
0
I didn't solve it 😔
4th Jul 2021, 9:04 AM
pasant Hussein
pasant Hussein - avatar
0
Please tell me the solution 🤍
4th Jul 2021, 9:05 AM
pasant Hussein
pasant Hussein - avatar
0
It's from Coursera I am trying to improve my skills by taking more courses
4th Jul 2021, 9:12 AM
pasant Hussein
pasant Hussein - avatar
- 1
Albums table has : Albumid (primary key) Title Artistid Tracks table has : Trackid( primary key ) Name Albumid Mediatypeid Genreid Composer Milliseconds Bytes Unitprice I have pictures for the table but i can't put it here
2nd Jul 2021, 5:28 PM
pasant Hussein
pasant Hussein - avatar