Skip to content

oC-n/CS50SQL_ex2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

CS50SQL_ex2

SQL query exercises

SELECT birth FROM people WHERE name='Jerry Seinfeld'; 1954

SELECT COUNT(*) FROM ratings WHERE rating = 10; 27

SELECT genre FROM genres WHERE show_id = (SELECT id FROM shows WHERE title='The Crown'); drama, history

SELECT name FROM people WHERE id= (SELECT person_id FROM writers WHERE show_id= (SELECT id FROM shows WHERE title='Arrested Development')); Mitchell Hurwitz

SELECT title FROM shows WHERE id= (SELECT show_id FROM stars WHERE person_id= (SELECT id FROM people WHERE name='Allison Janney')); Morton & Hayes

About

SQL query exercises

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published