You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
284 B
MySQL
8 lines
284 B
MySQL
5 years ago
|
/* Write a SQL query to show all the winners in Physics for 1970 together with the winner of Economics for 1971.*/
|
||
|
SELECT *
|
||
|
FROM nobel_win
|
||
|
WHERE (subject ='Physics' AND year=1970)
|
||
|
UNION
|
||
|
SELECT *
|
||
|
FROM nobel_win
|
||
|
WHERE (subject ='Economics' AND year=1971);
|