Q:

From the following table, write a SQL query to find the Nobel Prize winners for the subject not started with the letter 'P'

0

From the following table, write a SQL query to find the Nobel Prize winners for the subject not started with the letter 'P'. Return year, subject, winner, country, and category. Order the result by year, descending

YEAR SUBJECT                   WINNER                                        COUNTRY                CATEGORY
---- ------------------------- --------------------------------------------- ------------------------- ------------
1970 Physics                   Hannes Alfven                                 Sweden                 Scientist
1970 Physics                   Louis Neel                                    France                 Scientist
1970 Chemistry                 Luis Federico Leloir                          France                 Scientist
1970 Physiology                Ulf von Euler                                 Sweden                 Scientist
1970 Physiology                Bernard Katz                                  Germany                Scientist
1970 Literature                Aleksandr Solzhenitsyn                        Russia                 Linguist
1970 Economics                 Paul Samuelson                                USA                    Economist
1970 Physiology                Julius Axelrod                                USA                    Scientist
1971 Physics                   Dennis Gabor                                  Hungary                Scientist
1971 Chemistry                 Gerhard Herzberg                              Germany                Scientist
1971 Peace                     Willy Brandt                                  Germany                Chancellor
1971 Literature                Pablo Neruda                                  Chile                  Linguist
1971 Economics                 Simon Kuznets                                 Russia                 Economist
1978 Peace                     Anwar al-Sadat                                Egypt                  President
1978 Peace                     Menachem Begin                                Israel                 Prime Minister
1987 Chemistry                 Donald J. Cram                                USA                    Scientist
1987 Chemistry                 Jean-Marie Lehn                               France                 Scientist
1987 Physiology                Susumu Tonegawa                               Japan                  Scientist
1994 Economics                 Reinhard Selten                               Germany                Economist
1994 Peace                     Yitzhak Rabin                                 Israel                 Prime Minister
1987 Physics                   Johannes Georg Bednorz                        Germany                Scientist
1987 Literature                Joseph Brodsky                                Russia                 Linguist
1987 Economics                 Robert Solow                                  USA                    Economist
1994 Literature                Kenzaburo Oe                                  Japan                  Linguist

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

SELECT * 
 FROM nobel_win 
  WHERE subject NOT LIKE 'P%' 
   ORDER BY year DESC, winner;

Output of the Query:

year	subject	   winner			country	   	category
1994	Literature Kenzaburo Oe	      		Japan	  	Linguist
1994	Economics  Reinhard Selten		Germany	  	Economist
1987	Chemistry  Donald J. Cram		USA		Scientist
1987	Chemistry  Jean-Marie Lehn		France	  	Scientist
1987	Literature Joseph Brodsky		Russia	  	Linguist
1987	Economics  Robert Solow			USA		Economist
1971	Chemistry  Gerhard Herzberg    		Germany 	Scientist
1971	Literature Pablo Neruda			Chile	  	Linguist
1971	Economics  Simon Kuznets		Russia	  	Economist
1970	Literature Aleksandr Solzhenitsyn 	Russia 		Linguist
1970	Chemistry  Luis Federico Leloir 	 France		Scientist
1970	Economics  Paul Samuelson		USA		Economist

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Similar questions


need a help?


find thousands of online teachers now