fork download
  1. SHOW TABLES LIKE 'Railways';
  2.  
  3. -- Query to count the number of trains from each source station
  4. SELECT SourceStation, COUNT(*) AS TrainCount
  5. FROM Railways
  6. GROUP BY SourceStation;
  7. -- your code goes here
Success #stdin #stdout #stderr 0s 5320KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
Error: near line 1: near "SHOW": syntax error
Error: near line 4: no such table: Railways