D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] SQL query help please

 

On 11/09/2020 19:10, Sebastian wrote:

SELECT COUNT(*) FROM earthquake WHERE cause = 'earthquake';
SELECT occured_on, magnitude, place, cause FROM earthquakes ORDER BY magnitude DESC LIMIT 3;


table earthquake <> earthquakes :-)
-- 
'ooroo

Stinga...(:)-)
---------------------------------------------------
Email: stinga+dclug@xxxxxxxxxxxxx   o
You need only two tools.        o /////
A hammer and duct tape. If it    /@   `\  /) ~
doesn't move and it should use  >  (O)  X<  ~  Fish!!
the hammer. If it moves and      `\___/'  \) ~
shouldn't, use the tape.           \\\
---------------------------------------------------
-- 
The Mailing List for the Devon & Cornwall LUG
https://mailman.dcglug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/listfaq