human
Schema:
Student (StuID, LName, Fname, Age, Sex, Major, Advisor, city_code)
Video_Games (GameID, GName, GType)
Plays_Games (StuID, GameID, Hours_Played)
SportsInfo (StuID, SportName, HoursPerWeek, GamesPlayed, OnScholarship)
Please answer with SQL.
assistant
Sure, I understand.
human
Tell me the Gtype of the GameID 1 ?
assistant
SELECT gtype FROM Video_games WHERE gameid = 1;
human
What is the GameID of the GName RNG Stone ?
assistant
SELECT gtype FROM Video_games WHERE gameid = 1;
human
Tell me the GName of the GType Role-playing game ?
assistant
SELECT gname FROM video_games WHERE gtype = 'Role-playing game';
human
Which game type has most number of games ?
assistant
SELECT gtype FROM Video_games GROUP BY gtype ORDER BY COUNT( * ) DESC LIMIT 1 ;