query
stringlengths
24
325
positive
stringlengths
1
580
negative_1
stringlengths
6
580
negative_2
stringlengths
1
576
negative_3
stringlengths
1
576
negative_4
stringlengths
1
580
negative_5
stringlengths
1
580
negative_6
stringlengths
1
580
negative_7
stringlengths
5
576
negative_8
stringlengths
1
576
negative_9
stringlengths
1
580
negative_10
stringlengths
1
580
How many games were released on PS4 in 2014?
on PS4 refers to platform_name = 'PS4'; in 2014 refers to release_year = 2014
name of games refers to game_name;  'SCD' platform refers to platform_name = 'SCD';
Minecraft refers to game_name = 'Minecraft';
reached 300000 sales and above refers to num_sales > 3
name of games refers to game_name; 'Pioneer LDC' refers to publisher_name = 'Pioneer LDC';
difference = SUBTRACT(SUM(platform_name = 'PS3'), SUM(platform_name = 'X360')); PS3 refers to platform_name = 'PS3'; X360 refers to platform_name = 'X360';
X360 refers to platform_name = 'X360';
in 2004 refers to release_year = 2004; on PSP refers to platform_name = 'PSP'; percentage = divide(sum(platform_id where platform_name = 'PSP'), count(platform_id)) * 100% where release_year = 2004
name of the games refers to game_name; released in the year 2010 refers to release_year = 2010;
which publisher refers to publisher_name; publisher that has published the most games refers to MAX(COUNT(publisher_name)); puzzle genre refers to genre_name = 'Puzzle';
other regions refers to region_name = 'Other'; positive sales refers to num_sales > 0; DS platform refers to platform_name = 'DS';
In which regions has the game 'Pengo' been sold?
which regions refers to region_name; 'Pengo' refers to game_name = 'Pengo';
year that has the most number of video game releases refers to MAX(COUNT(release_year));
which region refers to region_name; highest number of games sold on all platforms refers to MAX(SUM(num_sales));
FIFA games refers to game_name LIKE '%FIFA%';
Minecraft refers to game_name = 'Minecraft';
platform game refers to genre_name = 'Platform'; game refers to game_name
ID refers to game_platform_id; the most popular refers to max(num_sales); in Europe refers to region_name = 'Europe'
in 2004 refers to release_year = 2004; on PSP refers to platform_name = 'PSP'; percentage = divide(sum(platform_id where platform_name = 'PSP'), count(platform_id)) * 100% where release_year = 2004
how many games = MULTIPLY(SUM(num_sales), 100000); PS3 refers to platform_name = 'PS3'; Japan refers to region_name = 'Japan';
genre refers to genre_name; 'Airlock', 'Airline Tycoon' , and 'Airblade' refers to game_name IN ('Airlock', 'Airline Tycoon', 'Airblade');
region id refers to region.id; Japan refers to region_name = 'Japan'
How many games did BMG Interactive Entertainment release in 2012?
BMG Interactive Entertainment refers to publisher_name = 'BMG Interactive Entertainment'; release in 2012 refers to release_year = 2012;
FIFA games refers to game_name LIKE '%FIFA%';
platform ID 15 refers to platform_id = 15
on PS4 refers to platform_name = 'PS4'; in 2014 refers to release_year = 2014
gained 350000 sales refers to num_sales = 3.5; in North America refers to region_name = 'North America'
name of game refers to game_name; 505 Games refers to publisher_name = '505 Games'; in 2006 refers to release_year = 2006;
game platform refers to game_platform_id; the most popular refers to max(num_sales); in Europe refers to region_name = 'Europe'
year refers to release_year; Panzer Tactics refers to game_name = 'Panzer Tactics'; on DS refers to platform_name = 'DS'
Activision refers to publisher_name = 'Activision';
the earliest refers to min(release_year); name of platform refers to platform_name
which publisher refers to publisher_name; Overwatch refers to game_name = 'Overwatch';
Calculate the difference between sales of games from region ID 2 and region ID 3.
difference = SUBTRACT(SUM(num_sales WHERE region_id = 2), SUM(num_sales WHERE region_id = 3));
name of the publisher refers to publisher_name; publisher that released the most video games in 2007 refers to MAX(COUNT(publisher_name)) WHERE release_year = 2007;
Activision refers to publisher_name = 'Activision';
platform refers to platform_name;
game "ModNation Racers" refers to game_name = 'ModNation Racers'
on PS4 refers to platform_name = 'PS4'; in 2014 refers to release_year = 2014
published by Namco Bandai Games refers to publisher_name = 'Namco Bandai Games'; adventure game refers to genre_name = 'Adventure'; percentage = divide(sum(game_id where genre_name = 'Adventure'), count(game_id)) * 100% where publisher_name = 'Namco Bandai Games'
which publisher refers to publisher_name; publisher that has published the most number of Action games refers to MAX(COUNT(publisher_name)) WHERE genre_name = 'Action'; Action games refers to game_name WHERE genre_name = 'Action';
genre refers to genre_name; "Grand Theft Auto V" refers to game_name = 'Grand Theft Auto V';
genre refers to genre_name; 3D Lemmings refers to game_name = '3D Lemmings'
difference = SUBTRACT(SUM(platform_name = 'PS3'), SUM(platform_name = 'X360')); PS3 refers to platform_name = 'PS3'; X360 refers to platform_name = 'X360';
Indicate the name of all the games published for the 'SCD' platform.
name of games refers to game_name;  'SCD' platform refers to platform_name = 'SCD';
which publisher refers to publisher_name; publisher that has published the most games refers to MAX(COUNT(publisher_name)); puzzle genre refers to genre_name = 'Puzzle';
id of game platform refers to game_platform_id; the most sales refers to max(num_sales); in Japan refers to region_name = 'Japan'
Abylight refers to publisher_name = 'Abylight';
name of games refers to game_name; 'Pioneer LDC' refers to publisher_name = 'Pioneer LDC';
sports game refers to genre_name = 'Sports'; simulation game refers to genre_name = 'Simulation'; how many more = subtract(sum(game_id where genre_name = 'Sports'), sum(game_id where genre_name = 'Simulation'))
region id refers to region.id; Japan refers to region_name = 'Japan'
publisher refers to publisher_name; the most games refers to max(count(game_id))
total number of games sold = MULTIPLY(SUM(num_sales), 100000);
year that has the most number of video game releases refers to MAX(COUNT(release_year));
the earliest refers to min(release_year); name of platform refers to platform_name
List down at least five publishers of the games with number of sales less than 10000.
publishers refers to publisher_name; number of sales less than 10000 refers to num_sales < 0.1;
names of games refers to game_name; released in 2015 refers to release_year = 2015;
total number of games sold = MULTIPLY(num_sales, 100000); Europe refers to region_name = 'Europe';
which publisher refers to publisher_name; Overwatch refers to game_name = 'Overwatch';
difference = SUBTRACT(SUM(num_sales WHERE region_id = 2), SUM(num_sales WHERE region_id = 3));
in North America refers to region_name = 'North America'; platform ID 9577 refers to game_platform_id = 9577; percent = divide(subtract(num_sales where region_name = 'North America' and game_platform_id = 9577, avg(num_sales)), avg(num_sales)) * 100%
game ID refers to game.id; released in 2017 refers to release_year = 2017
name refers to game_name; published by 10TACLE Studios refers to publisher_name = '10TACLE Studios'
game ID refers to game.id; genre ID 2 refers to genre_id = 2
game publisher's name refers to publisher_name; sales greater than 90% of the average sales refers to num_sales > multiply(0.9, avg(num_sales)); in Japan refers to region_name = 'Japan'
the genre of sports refers to genre_name = 'Sports'
How many video game publishers have Interactive in their names?
publishers that have Interactive in their names refers to publisher_name LIKE '%Interactive%';
in Japan refers to region_name = 'Japan'; average number of sales = multiply(avg(num_sales), 100000) where region_name = 'Japan'
the genre of sports refers to genre_name = 'Sports'
difference = SUBTRACT(SUM(platform_name = 'PS3'), SUM(platform_name = 'X360')); PS3 refers to platform_name = 'PS3'; X360 refers to platform_name = 'X360';
when refers to release_year; the game titled 3DS Classic Collection refers to game_name = '3DS Classic Collection'
publisher refers to publisher_name; the Chronicles of the Sword game refers to game_name = 'Chronicles of the Sword'
publisher refers to publisher_name; the most games refers to max(count(publisher_id))
id of game refers to game.id; "Resident Evil Archives: Resident Evil" refers to game_name = 'Resident Evil Archives: Resident Evil'
name of the games refers to game_name; released in the year 2010 refers to release_year = 2010;
platform ID 15 refers to platform_id = 15
total number of games sold = MULTIPLY(num_sales, 100000); Europe refers to region_name = 'Europe';
How many games were published by Activision?
Activision refers to publisher_name = 'Activision';
in Japan refers to region_name = 'Japan'; average number of sales = multiply(avg(num_sales), 100000) where region_name = 'Japan'
publisher refers to publisher_name; the Chronicles of the Sword game refers to game_name = 'Chronicles of the Sword'
id of game platform refers to game_platform_id; the most sales refers to max(num_sales); in Japan refers to region_name = 'Japan'
published by Namco Bandai Games refers to publisher_name = 'Namco Bandai Games'; adventure game refers to genre_name = 'Adventure'; percentage = divide(sum(game_id where genre_name = 'Adventure'), count(game_id)) * 100% where publisher_name = 'Namco Bandai Games'
year that has the most number of video game releases refers to MAX(COUNT(release_year));
in 2004 refers to release_year = 2004; on PSP refers to platform_name = 'PSP'; percentage = divide(sum(platform_id where platform_name = 'PSP'), count(platform_id)) * 100% where release_year = 2004
id of game refers to game.id; "Resident Evil Archives: Resident Evil" refers to game_name = 'Resident Evil Archives: Resident Evil'
genre ID 3 refers to genre.id = 3
total number of games sold = MULTIPLY(num_sales, 100000); Europe refers to region_name = 'Europe';
when refers to release_year; the game titled 3DS Classic Collection refers to game_name = '3DS Classic Collection'
What platform is the game 3Xtreme available on?
what platform refers to platform_name; 3Xtreme refers to game_name = '3Xtreme';
platform ID 15 refers to platform_id = 15
platform that is the most popular refers to platform_name WHERE MAX(num_sales); in Europe refers to region_name = 'Europe' ;
released in 2007 refers to release_year = 2007;
other regions refers to region_name = 'Other'; positive sales refers to num_sales > 0; DS platform refers to platform_name = 'DS';
genre refers to genre_name; 3D Lemmings refers to game_name = '3D Lemmings'
platform game refers to genre_name = 'Platform'; game refers to game_name
publishers that have Interactive in their names refers to publisher_name LIKE '%Interactive%';
game "ModNation Racers" refers to game_name = 'ModNation Racers'
ID refers to game_platform_id; the most popular refers to max(num_sales); in Europe refers to region_name = 'Europe'
number of sales refers to multiply(num_sales, 100000)
Which publisher published the most games?
publisher refers to publisher_name; the most games refers to max(count(game_id))
name of publisher refers to publisher_name; puzzle refers to genre_name = 'Puzzle'
when refers to release_year; the "Adventure Island" game refers to game_name = 'Adventure Island'
number of sales refers to multiply(num_sales, 100000)
on the DS platform refers to platform_name = 'DS'; number of games sold on average = divide(sum(multiply(num_sales, 100000)), 4) where platform_name = 'DS'
game ID refers to game.id; released in 2017 refers to release_year = 2017
game "ModNation Racers" refers to game_name = 'ModNation Racers'
released in the year 2001 refers to release_year = 2001;
genre refers to genre_name; "Grand Theft Auto V" refers to game_name = 'Grand Theft Auto V';
Europe refers to region_name = 'Europe'; sales lesser than 30% of the average number of sales refers to SUM(num_sales) < MULTIPLY(AVG(num_sales), 0.3);
published by Acclaim Entertainment refers to publisher_name = 'Acclaim Entertainment'
What is the ratio of game sales between North America and Japan?
ratio = DIVIDE(SUM(num_sales WHERE region_name = 'North America'), SUM(num_sales WHERE region_name = 'Japan')); North America refers to region_name = 'North America'; Japan refers to region_name = 'Japan';
other regions refers to region_name = 'Other'; positive sales refers to num_sales > 0; DS platform refers to platform_name = 'DS';
released in 2007 refers to release_year = 2007;
platform game refers to genre_name = 'Platform'; game refers to game_name
Activision refers to publisher_name = 'Activision';
which region refers to region_name; lowest number of sales refers to MIN(num_sales);
3 largest numbers of games sold refers to game_name where MAX(num_sales) LIMIT 3;
platform refers to platform_name;
the genre of sports refers to genre_name = 'Sports'
FIFA games refers to game_name LIKE '%FIFA%';
difference = SUBTRACT(SUM(num_sales WHERE region_id = 2), SUM(num_sales WHERE region_id = 3));
How many publishers have published more than 3 puzzle games?
puzzle refers to genre_name = 'Puzzle'; more than 3 puzzle games refers to count(game_id where genre_name = 'Puzzle') > 3
game ID refers to game.id; released in 2017 refers to release_year = 2017
adventure games refers to game_name WHERE genre_name = 'Adventure'; released in 2005 refers to release_year = 2005;
which region refers to region_name; lowest number of sales refers to MIN(num_sales);
platform of the game refers to platform_name; "Final Fantasy XIII-2" refers to game_name = 'Final Fantasy XIII-2';
released in 2007 refers to release_year = 2007;
genre refers to genre_name; 2010 FIFA World Cup South Africa refers to game_name = '2010 FIFA World Cup South Africa';
role-playing game refers to genre_name = 'Role-Playing'; Microsoft Game Studios refers to publisher_name = 'Microsoft Game Studios'
which publisher refers to publisher_name; Overwatch refers to game_name = 'Overwatch';
platform ID 15 refers to platform_id = 15
ratio = DIVIDE(SUM(num_sales WHERE region_name = 'North America'), SUM(num_sales WHERE region_name = 'Japan')); North America refers to region_name = 'North America'; Japan refers to region_name = 'Japan';
Calculate the difference in sales between the games released in 1990 and 2000.
difference = SUBTRACT(SUM(num_sales WHERE release_year = 2000), SUM(num_sales WHERE release_year = 1990));
name of publisher refers to publisher_name; puzzle refers to genre_name = 'Puzzle'
name of game refers to game_name; 505 Games refers to publisher_name = '505 Games'; in 2006 refers to release_year = 2006;
name of publisher refers to publisher_name; the game ID 75 refers to game_id = 75
number of sales = multiply(num_sales, 100000); in Europe refers to region_name = 'Europe'
genre of the game refers to genre_name; game ID 119 refers to game.id = 119;
number of sales refers to multiply(num_sales, 100000)
in North America refers to region_name = 'North America'; platform ID 9577 refers to game_platform_id = 9577; percent = divide(subtract(num_sales where region_name = 'North America' and game_platform_id = 9577, avg(num_sales)), avg(num_sales)) * 100%
when refers to release_year; the "Adventure Island" game refers to game_name = 'Adventure Island'
Activision refers to publisher_name = 'Activision';
publisher refers to publisher_name; the most games refers to max(count(game_id))
How many games do not have any sales in Europe?
do not have any sales refers to num_sales = 0; in Europe refers to region_name = 'Europe'
game refers to game_name; the longest name refers to max(length(game_name))
game publisher's name refers to publisher_name; sales greater than 90% of the average sales refers to num_sales > multiply(0.9, avg(num_sales)); in Japan refers to region_name = 'Japan'
average = AVG(MULTIPLY(num_sales, 100000));
publisher refers to publisher_name; publisher who has published the most games of all time refers to MAX(COUNT(publisher_name));
how many games = MULTIPLY(SUM(num_sales), 100000); PS3 refers to platform_name = 'PS3'; Japan refers to region_name = 'Japan';
genre refers to genre_name; game "Mario vs. Donkey Kong" refers to game_name = 'Mario vs. Donkey Kong'
which publisher refers to publisher_name; Overwatch refers to game_name = 'Overwatch';
sales = SUM(num_sales); Japan region refers to region_name = 'Japan';
name of games refers to game_name; 'Pioneer LDC' refers to publisher_name = 'Pioneer LDC';
sports game refers to genre_name = 'Sports'; simulation game refers to genre_name = 'Simulation'; how many more = subtract(sum(game_id where genre_name = 'Sports'), sum(game_id where genre_name = 'Simulation'))
Tell the number of games whose publisher id is 352.
number of games refers to count(game_id)
name of the publisher refers to publisher_name; publisher that released the most video games in 2007 refers to MAX(COUNT(publisher_name)) WHERE release_year = 2007;
platform ID 15 refers to platform_id = 15
more than 200000 sales refers to SUM(num_sales) > 2; Japan refers to region_name = 'Japan';
which publisher refers to publisher_name; publisher that has published the most number of Action games refers to MAX(COUNT(publisher_name)) WHERE genre_name = 'Action'; Action games refers to game_name WHERE genre_name = 'Action';
released in 2007 refers to release_year = 2007;
on PS4 refers to platform_name = 'PS4'; in 2014 refers to release_year = 2014
name of games refers to game_name; adventure games refers to game_name WHERE genre_name = 'Adventure';
publisher refers to publisher_name; the most games refers to max(count(game_id))
Abylight refers to publisher_name = 'Abylight';
when refers to release_year; the "Adventure Island" game refers to game_name = 'Adventure Island'
How many more sports games than simulation games?
sports game refers to genre_name = 'Sports'; simulation game refers to genre_name = 'Simulation'; how many more = subtract(sum(game_id where genre_name = 'Sports'), sum(game_id where genre_name = 'Simulation'))
genre of the game refers to genre_name; game ID 119 refers to game.id = 119;
on PS4 refers to platform_name = 'PS4'; in 2014 refers to release_year = 2014
Abylight refers to publisher_name = 'Abylight';
game refers to game_name; the longest name refers to max(length(game_name))
name of publisher refers to publisher_name; puzzle refers to genre_name = 'Puzzle'
in North America refers to region_name = 'North America'; platform ID 9577 refers to game_platform_id = 9577; percent = divide(subtract(num_sales where region_name = 'North America' and game_platform_id = 9577, avg(num_sales)), avg(num_sales)) * 100%
on the Wii platform refers to platform_name = 'Wii'
name of game refers to game_name; published by 3DO refers to publisher_name = '3DO'
role-playing game refers to genre_name = 'Role-Playing'
FIFA games refers to game_name LIKE '%FIFA%';
List the name of all games published by 'Pioneer LDC'.
name of games refers to game_name; 'Pioneer LDC' refers to publisher_name = 'Pioneer LDC';
publisher refers to publisher_name; the most games refers to max(count(publisher_id))
on the DS platform refers to platform_name = 'DS'; number of games sold on average = divide(sum(multiply(num_sales, 100000)), 4) where platform_name = 'DS'
number of sales = multiply(num_sales, 100000); in Europe refers to region_name = 'Europe'
difference = SUBTRACT(SUM(platform_name = 'PS3'), SUM(platform_name = 'X360')); PS3 refers to platform_name = 'PS3'; X360 refers to platform_name = 'X360';
game refers to game_name; on the SCD platform refers to platform_name = 'SCD'
name of games refers to game_name;  'SCD' platform refers to platform_name = 'SCD';
in North America refers to region_name = 'North America'; platform ID 9577 refers to game_platform_id = 9577; percent = divide(subtract(num_sales where region_name = 'North America' and game_platform_id = 9577, avg(num_sales)), avg(num_sales)) * 100%
fighting genre refers to genre_name = 'Fighting';
genre refers to genre_name; game "Mario vs. Donkey Kong" refers to game_name = 'Mario vs. Donkey Kong'
published by 10TACLE Studios refers to publisher_name = '10TACLE Studios'; puzzle refers to genre_name = 'Puzzle'
What is the total number of adventure games released in 2005?
adventure games refers to game_name WHERE genre_name = 'Adventure'; released in 2005 refers to release_year = 2005;
name of games refers to game_name; racing genre refers to genre_name = 'Racing';
published by Namco Bandai Games refers to publisher_name = 'Namco Bandai Games'; adventure game refers to genre_name = 'Adventure'; percentage = divide(sum(game_id where genre_name = 'Adventure'), count(game_id)) * 100% where publisher_name = 'Namco Bandai Games'
publishers that have Interactive in their names refers to publisher_name LIKE '%Interactive%';
difference = SUBTRACT(SUM(num_sales WHERE release_year = 2000), SUM(num_sales WHERE release_year = 1990));
publisher refers to publisher_name; the most games refers to max(count(game_id))
game platform refers to game_platform_id; the most popular refers to max(num_sales); in Europe refers to region_name = 'Europe'
total sales in all regions = MULTIPLY(SUM(num_sales), 100000);
when refers to release_year; the "Adventure Island" game refers to game_name = 'Adventure Island'
PSP refers to platform_name = 'PSP'; released in 2004 refers to release_year = 2004;
game refers to game_name; the longest name refers to max(length(game_name))
Find out the difference between the number of publishers who released the games on the PS3 and X360.
difference = SUBTRACT(SUM(platform_name = 'PS3'), SUM(platform_name = 'X360')); PS3 refers to platform_name = 'PS3'; X360 refers to platform_name = 'X360';
gained 350000 sales refers to num_sales = 3.5; in North America refers to region_name = 'North America'
name of publisher refers to publisher_name; the game ID 75 refers to game_id = 75
number of games refers to count(game_id)
genre ID 3 refers to genre.id = 3
when refers to release_year; the "Adventure Island" game refers to game_name = 'Adventure Island'
the earliest refers to min(release_year); name of platform refers to platform_name
id of game refers to game.id; "Resident Evil Archives: Resident Evil" refers to game_name = 'Resident Evil Archives: Resident Evil'
name of game refers to game_name; published by 3DO refers to publisher_name = '3DO'
name of the games refers to game_name; released in the year 2010 refers to release_year = 2010;
when refers to release_year; the game titled 3DS Classic Collection refers to game_name = '3DS Classic Collection'
List the region name where games reached 300000 sales and above.
reached 300000 sales and above refers to num_sales > 3
sports game refers to genre_name = 'Sports'; simulation game refers to genre_name = 'Simulation'; how many more = subtract(sum(game_id where genre_name = 'Sports'), sum(game_id where genre_name = 'Simulation'))
genre refers to genre_name; 'Airlock', 'Airline Tycoon' , and 'Airblade' refers to game_name IN ('Airlock', 'Airline Tycoon', 'Airblade');
name of games refers to game_name; racing genre refers to genre_name = 'Racing';
publishers that have Interactive in their names refers to publisher_name LIKE '%Interactive%';
do not have any sales refers to num_sales = 0; in Europe refers to region_name = 'Europe'
game ID refers to game.id; genre ID 2 refers to genre_id = 2
when refers to release_year; the "Adventure Island" game refers to game_name = 'Adventure Island'
year the first game was released refers to MIN(release_year);
game ID refers to game.id; released in 2017 refers to release_year = 2017
in North America refers to region_name = 'North America'; platform ID 9577 refers to game_platform_id = 9577; percent = divide(subtract(num_sales where region_name = 'North America' and game_platform_id = 9577, avg(num_sales)), avg(num_sales)) * 100%
What is the name of the company that produced the game titled Adventure Time: Explore the Dungeon Because I Don't Know!?
name of the company that produced the game refers to publisher_name; Adventure Time: Explore the Dungeon Because I Don't Know! Refers to game_name = 'Adventure Time: Explore the Dungeon Because I Don''t Know!';
publisher refers to publisher_name; the Chronicles of the Sword game refers to game_name = 'Chronicles of the Sword'
published by Namco Bandai Games refers to publisher_name = 'Namco Bandai Games'; adventure game refers to genre_name = 'Adventure'; percentage = divide(sum(game_id where genre_name = 'Adventure'), count(game_id)) * 100% where publisher_name = 'Namco Bandai Games'
id of game refers to game.id; "Resident Evil Archives: Resident Evil" refers to game_name = 'Resident Evil Archives: Resident Evil'
genre refers to genre_name; 'Airlock', 'Airline Tycoon' , and 'Airblade' refers to game_name IN ('Airlock', 'Airline Tycoon', 'Airblade');
name of publisher refers to publisher_name; puzzle refers to genre_name = 'Puzzle'
publishers that have Interactive in their names refers to publisher_name LIKE '%Interactive%';
the genre of sports refers to genre_name = 'Sports'
released in 2007 refers to release_year = 2007;
total sales in all regions = MULTIPLY(SUM(num_sales), 100000);
in Japan refers to region_name = 'Japan'; average number of sales = multiply(avg(num_sales), 100000) where region_name = 'Japan'
How many games are not of the genres 'Role-Playing', 'Shooter' and 'Simulation'?
not of the genres 'Role-Playing', 'Shooter' and 'Simulation' refers to genre_name NOT IN ('Role-Playing', 'Shooter', 'Simulation');
Minecraft refers to game_name = 'Minecraft';
region id refers to region.id; Japan refers to region_name = 'Japan'
PSP refers to platform_name = 'PSP'; released in 2004 refers to release_year = 2004;
published by 10TACLE Studios refers to publisher_name = '10TACLE Studios'; puzzle refers to genre_name = 'Puzzle'
number of sales = multiply(num_sales, 100000); in Europe refers to region_name = 'Europe'
FIFA games refers to game_name LIKE '%FIFA%';
which region refers to region_name; highest number of games sold on all platforms refers to MAX(SUM(num_sales));
strategy games refers to game_name WHERE genre_name = 'Strategy';
puzzle refers to genre_name = 'Puzzle'; more than 3 puzzle games refers to count(game_id where genre_name = 'Puzzle') > 3
X360 refers to platform_name = 'X360';
State the region id of Japan.
region id refers to region.id; Japan refers to region_name = 'Japan'
name of publisher refers to publisher_name; the game ID 75 refers to game_id = 75
puzzle refers to genre_name = 'Puzzle'; more than 3 puzzle games refers to count(game_id where genre_name = 'Puzzle') > 3
publisher refers to publisher_name; the most games refers to max(count(publisher_id))
platform that is the most popular refers to platform_name WHERE MAX(num_sales); in Europe refers to region_name = 'Europe' ;
the first year refers to min(release_year)
on the Wii platform refers to platform_name = 'Wii'
which publisher refers to publisher_name; publisher that has published the most number of Action games refers to MAX(COUNT(publisher_name)) WHERE genre_name = 'Action'; Action games refers to game_name WHERE genre_name = 'Action';
average number = divide(count(game_id), count(publisher_id))
percentage = MULTIPLY(DIVIDE(SUM(genre_name = 'sport'), COUNT(game_name)), 100.0); sports refers to genre_name = 'sport';
number of games refers to count(game_id)
Among games sold in Europe, list the platform ID of games with sales lesser than 30% of the average number of sales.
Europe refers to region_name = 'Europe'; sales lesser than 30% of the average number of sales refers to SUM(num_sales) < MULTIPLY(AVG(num_sales), 0.3);
platform that is the most popular refers to platform_name WHERE MAX(num_sales); in Europe refers to region_name = 'Europe' ;
strategy games refers to game_name WHERE genre_name = 'Strategy';
when the game was released refers to release_year;
FIFA games refers to game_name LIKE '%FIFA%';
on the Wii platform refers to platform_name = 'Wii'
name of game refers to game_name; 505 Games refers to publisher_name = '505 Games'; in 2006 refers to release_year = 2006;
game ID refers to game.id; genre ID 2 refers to genre_id = 2
name of the publisher refers to publisher_name; publisher that released the most video games in 2007 refers to MAX(COUNT(publisher_name)) WHERE release_year = 2007;
reached 300000 sales and above refers to num_sales > 3
genre refers to genre_name; "Grand Theft Auto V" refers to game_name = 'Grand Theft Auto V';
Indicate the name of all adventure games.
name of games refers to game_name; adventure games refers to game_name WHERE genre_name = 'Adventure';
genre refers to genre_name; 3D Lemmings refers to game_name = '3D Lemmings'
record ID refers to game.id; released between 2000 to 2003 refers to release_year BETWEEN 2000 AND 2003
which region refers to region_name; highest number of games sold on all platforms refers to MAX(SUM(num_sales));
sales = SUM(num_sales); Japan region refers to region_name = 'Japan';
genre of the game refers to genre_name; '999: Nine Hours, Nine Persons, Nine Doors' refers to game_name = '999: Nine Hours, Nine Persons, Nine Doors';
name of games refers to game_name; 'Pioneer LDC' refers to publisher_name = 'Pioneer LDC';
released in the year 2001 refers to release_year = 2001;
Pro Evolution Soccer 2012 refers to game_name = 'Pro Evolution Soccer 2012'
id of game platform refers to game_platform_id; the most sales refers to max(num_sales); in Japan refers to region_name = 'Japan'
game refers to game_name; released in 2011 refers to release_year = 2011
List the genre id of the game Pro Evolution Soccer 2012.
Pro Evolution Soccer 2012 refers to game_name = 'Pro Evolution Soccer 2012'
the genre of sports refers to genre_name = 'Sports'
id of game platform refers to game_platform_id; the most sales refers to max(num_sales); in Japan refers to region_name = 'Japan'
when refers to release_year; the "Adventure Island" game refers to game_name = 'Adventure Island'
id of game refers to game.id; "Resident Evil Archives: Resident Evil" refers to game_name = 'Resident Evil Archives: Resident Evil'
genre refers to genre_name; 'Airlock', 'Airline Tycoon' , and 'Airblade' refers to game_name IN ('Airlock', 'Airline Tycoon', 'Airblade');
number of games refers to count(game_id)
ratio = DIVIDE(SUM(num_sales WHERE region_name = 'North America'), SUM(num_sales WHERE region_name = 'Japan')); North America refers to region_name = 'North America'; Japan refers to region_name = 'Japan';
ID refers to game_platform_id; the most popular refers to max(num_sales); in Europe refers to region_name = 'Europe'
X360 refers to platform_name = 'X360';
year refers to release_year; Panzer Tactics refers to game_name = 'Panzer Tactics'; on DS refers to platform_name = 'DS'
How many game publisher IDs have published games on the X360 platform?
X360 refers to platform_name = 'X360';
what platform refers to platform_name; 3Xtreme refers to game_name = '3Xtreme';
published by Acclaim Entertainment refers to publisher_name = 'Acclaim Entertainment'
which publisher refers to publisher_name; publisher that has published the most number of Action games refers to MAX(COUNT(publisher_name)) WHERE genre_name = 'Action'; Action games refers to game_name WHERE genre_name = 'Action';
genre of the game refers to genre_name; game ID 119 refers to game.id = 119;
name of games refers to game_name; 'Pioneer LDC' refers to publisher_name = 'Pioneer LDC';
PSP refers to platform_name = 'PSP'; released in 2004 refers to release_year = 2004;
year the first game was released refers to MIN(release_year);
other regions refers to region_name = 'Other'; positive sales refers to num_sales > 0; DS platform refers to platform_name = 'DS';
publisher refers to publisher_name; the most games refers to max(count(game_id))
genre refers to genre_name; 2010 FIFA World Cup South Africa refers to game_name = '2010 FIFA World Cup South Africa';
Name the publisher of the Chronicles of the Sword game.
publisher refers to publisher_name; the Chronicles of the Sword game refers to game_name = 'Chronicles of the Sword'
genre refers to genre_name; 3D Lemmings refers to game_name = '3D Lemmings'
the first year refers to min(release_year)
platform ID 15 refers to platform_id = 15
publishers refers to publisher_name; number of sales less than 10000 refers to num_sales < 0.1;
number of sales = multiply(num_sales, 100000); in Europe refers to region_name = 'Europe'
name of games refers to game_name;  'SCD' platform refers to platform_name = 'SCD';
genre refers to genre_name; 'Airlock', 'Airline Tycoon' , and 'Airblade' refers to game_name IN ('Airlock', 'Airline Tycoon', 'Airblade');
name of the company that produced the game refers to publisher_name; Adventure Time: Explore the Dungeon Because I Don't Know! Refers to game_name = 'Adventure Time: Explore the Dungeon Because I Don''t Know!';
which publisher refers to publisher_name; 'Pachi-Slot Kanzen Kouryaku 3: Universal Koushiki Gaido Volume 3' refers to game_name = 'Pachi-Slot Kanzen Kouryaku 3: Universal Koushiki Gaido Volume 3';
name of publisher refers to publisher_name; puzzle refers to genre_name = 'Puzzle'
Indicate the release year of the game with more than 200000 sales in Japan.
more than 200000 sales refers to SUM(num_sales) > 2; Japan refers to region_name = 'Japan';
BMG Interactive Entertainment refers to publisher_name = 'BMG Interactive Entertainment'; release in 2012 refers to release_year = 2012;
id of game refers to game.id; "Resident Evil Archives: Resident Evil" refers to game_name = 'Resident Evil Archives: Resident Evil'
3 largest numbers of games sold refers to game_name where MAX(num_sales) LIMIT 3;
released in 1990 refers to release_year = 1990; 2000 refers to release_year = 2000;
game refers to game_name; on the SCD platform refers to platform_name = 'SCD'
difference = SUBTRACT(SUM(num_sales WHERE region_id = 2), SUM(num_sales WHERE region_id = 3));
game refers to game_name; released in 2011 refers to release_year = 2011
on PS4 refers to platform_name = 'PS4'; in 2014 refers to release_year = 2014
on the Wii platform refers to platform_name = 'Wii'
in North America refers to region_name = 'North America'; platform ID 9577 refers to game_platform_id = 9577; percent = divide(subtract(num_sales where region_name = 'North America' and game_platform_id = 9577, avg(num_sales)), avg(num_sales)) * 100%
What is the genre of the game titled '999: Nine Hours, Nine Persons, Nine Doors' ?
genre of the game refers to genre_name; '999: Nine Hours, Nine Persons, Nine Doors' refers to game_name = '999: Nine Hours, Nine Persons, Nine Doors';
published by Acclaim Entertainment refers to publisher_name = 'Acclaim Entertainment'
gained 350000 sales refers to num_sales = 3.5; in North America refers to region_name = 'North America'
id of game refers to game.id; "Resident Evil Archives: Resident Evil" refers to game_name = 'Resident Evil Archives: Resident Evil'
id of game platform refers to game_platform_id; the most sales refers to max(num_sales); in Japan refers to region_name = 'Japan'
strategy games refers to game_name WHERE genre_name = 'Strategy';
when refers to release_year; the "Adventure Island" game refers to game_name = 'Adventure Island'
name of publisher refers to publisher_name; puzzle refers to genre_name = 'Puzzle'
reached 300000 sales and above refers to num_sales > 3
year that has the most number of video game releases refers to MAX(COUNT(release_year));
game platform refers to game_platform_id; the most popular refers to max(num_sales); in Europe refers to region_name = 'Europe'
What are the years that "WiiU" got a new game?
year refers to release_year; "WiiU" refers to platform_name = 'WiiU'
PSP refers to platform_name = 'PSP'; released in 2004 refers to release_year = 2004;
name refers to game_name; published by 10TACLE Studios refers to publisher_name = '10TACLE Studios'
when refers to release_year; the game titled 3DS Classic Collection refers to game_name = '3DS Classic Collection'
difference = SUBTRACT(SUM(num_sales WHERE region_id = 2), SUM(num_sales WHERE region_id = 3));
do not have any sales refers to num_sales = 0; in Europe refers to region_name = 'Europe'
Abylight refers to publisher_name = 'Abylight';
difference = SUBTRACT(SUM(num_sales WHERE release_year = 2000), SUM(num_sales WHERE release_year = 1990));
game publisher's name refers to publisher_name; sales greater than 90% of the average sales refers to num_sales > multiply(0.9, avg(num_sales)); in Japan refers to region_name = 'Japan'
sales = SUM(num_sales); Japan region refers to region_name = 'Japan';
the earliest refers to min(release_year); name of platform refers to platform_name
Compute the average number of sales in region ID 3.
average = AVG(MULTIPLY(num_sales, 100000));
game publisher's name refers to publisher_name; sales greater than 90% of the average sales refers to num_sales > multiply(0.9, avg(num_sales)); in Japan refers to region_name = 'Japan'
PSP refers to platform_name = 'PSP'; released in 2004 refers to release_year = 2004;
game refers to game_name; on the SCD platform refers to platform_name = 'SCD'
sports game refers to genre_name = 'Sports'; simulation game refers to genre_name = 'Simulation'; how many more = subtract(sum(game_id where genre_name = 'Sports'), sum(game_id where genre_name = 'Simulation'))
the genre of sports refers to genre_name = 'Sports'
Abylight refers to publisher_name = 'Abylight';
names of games refers to game_name; released in 2015 refers to release_year = 2015;
genre refers to genre_name; game "Mario vs. Donkey Kong" refers to game_name = 'Mario vs. Donkey Kong'
genre refers to genre_name; 2010 FIFA World Cup South Africa refers to game_name = '2010 FIFA World Cup South Africa';
name of games refers to game_name; adventure games refers to game_name WHERE genre_name = 'Adventure';
How many publishers in Japan released a game on X360 in 2011?
in Japan refers to region_name = 'Japan'; on X360 refers to platform_name = 'X360'; in 2011 refers to release_year = 2011
which publisher refers to publisher_name; publisher that has published the most games refers to MAX(COUNT(publisher_name)); puzzle genre refers to genre_name = 'Puzzle';
percentage = MULTIPLY(DIVIDE(SUM(genre_name = 'sport'), COUNT(game_name)), 100.0); sports refers to genre_name = 'sport';
number of games refers to count(game_id)
sales = SUM(num_sales); Japan region refers to region_name = 'Japan';
released in 2007 refers to release_year = 2007;
game ID refers to game.id; genre ID 2 refers to genre_id = 2
genre refers to genre_name; game "Mario vs. Donkey Kong" refers to game_name = 'Mario vs. Donkey Kong'
game platform refers to game_platform_id; the most popular refers to max(num_sales); in Europe refers to region_name = 'Europe'
gained 350000 sales refers to num_sales = 3.5; in North America refers to region_name = 'North America'
adventure games refers to game_name WHERE genre_name = 'Adventure'; released in 2005 refers to release_year = 2005;
Which publisher published Overwatch?
which publisher refers to publisher_name; Overwatch refers to game_name = 'Overwatch';
genre refers to genre_name; 3D Lemmings refers to game_name = '3D Lemmings'
BMG Interactive Entertainment refers to publisher_name = 'BMG Interactive Entertainment'; release in 2012 refers to release_year = 2012;
which regions refers to region_name; 'Pengo' refers to game_name = 'Pengo';
game "ModNation Racers" refers to game_name = 'ModNation Racers'
Minecraft refers to game_name = 'Minecraft';
genre refers to genre_name; game "Mario vs. Donkey Kong" refers to game_name = 'Mario vs. Donkey Kong'
released in 2007 refers to release_year = 2007;
name of games refers to game_name; racing genre refers to genre_name = 'Racing';
difference = SUBTRACT(SUM(platform_name = 'PS3'), SUM(platform_name = 'X360')); PS3 refers to platform_name = 'PS3'; X360 refers to platform_name = 'X360';
name of publisher refers to publisher_name; the game ID 75 refers to game_id = 75
How many games were released in 2001?
released in 2001 refers to release_year = 2001
difference = SUBTRACT(SUM(num_sales WHERE region_id = 2), SUM(num_sales WHERE region_id = 3));
name of games refers to game_name;  'SCD' platform refers to platform_name = 'SCD';
released in 1990 refers to release_year = 1990; 2000 refers to release_year = 2000;
name of the games refers to game_name; released in the year 2010 refers to release_year = 2010;
difference = SUBTRACT(SUM(num_sales WHERE release_year = 2000), SUM(num_sales WHERE release_year = 1990));
in 2004 refers to release_year = 2004; on PSP refers to platform_name = 'PSP'; percentage = divide(sum(platform_id where platform_name = 'PSP'), count(platform_id)) * 100% where release_year = 2004
in Japan refers to region_name = 'Japan'; average number of sales = multiply(avg(num_sales), 100000) where region_name = 'Japan'
role-playing game refers to genre_name = 'Role-Playing'
in North America refers to region_name = 'North America'; platform ID 9577 refers to game_platform_id = 9577; percent = divide(subtract(num_sales where region_name = 'North America' and game_platform_id = 9577, avg(num_sales)), avg(num_sales)) * 100%
sports game refers to genre_name = 'Sports'; simulation game refers to genre_name = 'Simulation'; how many more = subtract(sum(game_id where genre_name = 'Sports'), sum(game_id where genre_name = 'Simulation'))
What is the id of the game "Resident Evil Archives: Resident Evil"?
id of game refers to game.id; "Resident Evil Archives: Resident Evil" refers to game_name = 'Resident Evil Archives: Resident Evil'
genre refers to genre_name; "Grand Theft Auto V" refers to game_name = 'Grand Theft Auto V';
games refers to game_name; "Activision" refers to publisher_name = 'Activision';
the first year refers to min(release_year)
which publisher refers to publisher_name; Overwatch refers to game_name = 'Overwatch';
year refers to release_year; Panzer Tactics refers to game_name = 'Panzer Tactics'; on DS refers to platform_name = 'DS'
game ID refers to game.id; genre ID 2 refers to genre_id = 2
BMG Interactive Entertainment refers to publisher_name = 'BMG Interactive Entertainment'; release in 2012 refers to release_year = 2012;
name of game refers to game_name; 505 Games refers to publisher_name = '505 Games'; in 2006 refers to release_year = 2006;
genre ID 3 refers to genre.id = 3
published by Namco Bandai Games refers to publisher_name = 'Namco Bandai Games'; adventure game refers to genre_name = 'Adventure'; percentage = divide(sum(game_id where genre_name = 'Adventure'), count(game_id)) * 100% where publisher_name = 'Namco Bandai Games'
Find out the platform of the game "Final Fantasy XIII-2".
platform of the game refers to platform_name; "Final Fantasy XIII-2" refers to game_name = 'Final Fantasy XIII-2';
published by Namco Bandai Games refers to publisher_name = 'Namco Bandai Games'; adventure game refers to genre_name = 'Adventure'; percentage = divide(sum(game_id where genre_name = 'Adventure'), count(game_id)) * 100% where publisher_name = 'Namco Bandai Games'
difference = SUBTRACT(SUM(platform_name = 'PS3'), SUM(platform_name = 'X360')); PS3 refers to platform_name = 'PS3'; X360 refers to platform_name = 'X360';
sports game refers to genre_name = 'Sports'; simulation game refers to genre_name = 'Simulation'; how many more = subtract(sum(game_id where genre_name = 'Sports'), sum(game_id where genre_name = 'Simulation'))
game publisher's name refers to publisher_name; sales greater than 90% of the average sales refers to num_sales > multiply(0.9, avg(num_sales)); in Japan refers to region_name = 'Japan'
more than 200000 sales refers to SUM(num_sales) > 2; Japan refers to region_name = 'Japan';
sales = SUM(num_sales); Japan region refers to region_name = 'Japan';
game refers to game_name; released in 2011 refers to release_year = 2011
region id refers to region.id; Japan refers to region_name = 'Japan'
publisher refers to publisher_name; the most games refers to max(count(game_id))
average = AVG(MULTIPLY(num_sales, 100000));
Provide the games that can be played on the SCD platform.
game refers to game_name; on the SCD platform refers to platform_name = 'SCD'
sports game refers to genre_name = 'Sports'; simulation game refers to genre_name = 'Simulation'; how many more = subtract(sum(game_id where genre_name = 'Sports'), sum(game_id where genre_name = 'Simulation'))
average number = divide(count(game_id), count(publisher_id))
sales = SUM(num_sales); Japan region refers to region_name = 'Japan';
genre ID 3 refers to genre.id = 3
BMG Interactive Entertainment refers to publisher_name = 'BMG Interactive Entertainment'; release in 2012 refers to release_year = 2012;
record ID refers to game.id; released between 2000 to 2003 refers to release_year BETWEEN 2000 AND 2003
gained 350000 sales refers to num_sales = 3.5; in North America refers to region_name = 'North America'
how many games = MULTIPLY(SUM(num_sales), 100000); PS3 refers to platform_name = 'PS3'; Japan refers to region_name = 'Japan';
other regions refers to region_name = 'Other'; positive sales refers to num_sales > 0; DS platform refers to platform_name = 'DS';
PSP refers to platform_name = 'PSP'; released in 2004 refers to release_year = 2004;
Which platform is the most popular in Europe?
platform that is the most popular refers to platform_name WHERE MAX(num_sales); in Europe refers to region_name = 'Europe' ;
difference = SUBTRACT(SUM(num_sales WHERE release_year = 2000), SUM(num_sales WHERE release_year = 1990));
name of games refers to game_name; racing genre refers to genre_name = 'Racing';
fighting genre refers to genre_name = 'Fighting';
name of games refers to game_name; 'Pioneer LDC' refers to publisher_name = 'Pioneer LDC';
when the game was released refers to release_year;
the genre of sports refers to genre_name = 'Sports'
name of publisher refers to publisher_name; the game ID 75 refers to game_id = 75
publisher refers to publisher_name; the most games refers to max(count(publisher_id))
Abylight refers to publisher_name = 'Abylight';
games refers to game_name; "Activision" refers to publisher_name = 'Activision';
Give the genre of the following game titled 'Airlock' , 'Airline Tycoon' , and 'Airblade', respectively.
genre refers to genre_name; 'Airlock', 'Airline Tycoon' , and 'Airblade' refers to game_name IN ('Airlock', 'Airline Tycoon', 'Airblade');
game ID refers to game.id; genre ID 2 refers to genre_id = 2
on the DS platform refers to platform_name = 'DS'; number of games sold on average = divide(sum(multiply(num_sales, 100000)), 4) where platform_name = 'DS'
publisher refers to publisher_name; the most games refers to max(count(publisher_id))
genre ID 3 refers to genre.id = 3
name of publisher refers to publisher_name; the game ID 75 refers to game_id = 75
which publisher refers to publisher_name; publisher that has published the most number of Action games refers to MAX(COUNT(publisher_name)) WHERE genre_name = 'Action'; Action games refers to game_name WHERE genre_name = 'Action';
name of games refers to game_name;  'SCD' platform refers to platform_name = 'SCD';
in 2004 refers to release_year = 2004; on PSP refers to platform_name = 'PSP'; percentage = divide(sum(platform_id where platform_name = 'PSP'), count(platform_id)) * 100% where release_year = 2004
number of sales refers to multiply(num_sales, 100000)
name of the company that produced the game refers to publisher_name; Adventure Time: Explore the Dungeon Because I Don't Know! Refers to game_name = 'Adventure Time: Explore the Dungeon Because I Don''t Know!';
Which game has the longest name?
game refers to game_name; the longest name refers to max(length(game_name))
total number of games sold = MULTIPLY(num_sales, 100000); Europe refers to region_name = 'Europe';
strategy games refers to game_name WHERE genre_name = 'Strategy';
platform that is the most popular refers to platform_name WHERE MAX(num_sales); in Europe refers to region_name = 'Europe' ;
genre of the game refers to genre_name; game ID 119 refers to game.id = 119;
gained 350000 sales refers to num_sales = 3.5; in North America refers to region_name = 'North America'
games refers to game_name; "Activision" refers to publisher_name = 'Activision';
on PS4 refers to platform_name = 'PS4'; in 2014 refers to release_year = 2014
in North America refers to region_name = 'North America'; platform ID 9577 refers to game_platform_id = 9577; percent = divide(subtract(num_sales where region_name = 'North America' and game_platform_id = 9577, avg(num_sales)), avg(num_sales)) * 100%
year the first game was released refers to MIN(release_year);
more than 200000 sales refers to SUM(num_sales) > 2; Japan refers to region_name = 'Japan';
Which year has the most number of video game releases?
year that has the most number of video game releases refers to MAX(COUNT(release_year));
name of games refers to game_name; 'Pioneer LDC' refers to publisher_name = 'Pioneer LDC';
name of the games refers to game_name; released in the year 2010 refers to release_year = 2010;
ID refers to game_platform_id; the most popular refers to max(num_sales); in Europe refers to region_name = 'Europe'
on PS4 refers to platform_name = 'PS4'; in 2014 refers to release_year = 2014
game refers to game_name; on the SCD platform refers to platform_name = 'SCD'
PSP refers to platform_name = 'PSP'; released in 2004 refers to release_year = 2004;
other regions refers to region_name = 'Other'; positive sales refers to num_sales > 0; DS platform refers to platform_name = 'DS';
average = AVG(MULTIPLY(num_sales, 100000));
name of the publisher refers to publisher_name; publisher that released the most video games in 2007 refers to MAX(COUNT(publisher_name)) WHERE release_year = 2007;
difference = SUBTRACT(SUM(platform_name = 'PS3'), SUM(platform_name = 'X360')); PS3 refers to platform_name = 'PS3'; X360 refers to platform_name = 'X360';
How many games in the database belong to the genre of sports?
the genre of sports refers to genre_name = 'Sports'
which publisher refers to publisher_name; 'Pachi-Slot Kanzen Kouryaku 3: Universal Koushiki Gaido Volume 3' refers to game_name = 'Pachi-Slot Kanzen Kouryaku 3: Universal Koushiki Gaido Volume 3';
which publisher refers to publisher_name; publisher that has published the most games refers to MAX(COUNT(publisher_name)); puzzle genre refers to genre_name = 'Puzzle';
Minecraft refers to game_name = 'Minecraft';
name of the publisher refers to publisher_name; publisher that released the most video games in 2007 refers to MAX(COUNT(publisher_name)) WHERE release_year = 2007;
name of game refers to game_name; published by 3DO refers to publisher_name = '3DO'
game ID refers to game.id; genre ID 2 refers to genre_id = 2
what platform refers to platform_name; 3Xtreme refers to game_name = '3Xtreme';
do not have any sales refers to num_sales = 0; in Europe refers to region_name = 'Europe'
on the Wii platform refers to platform_name = 'Wii'
publisher refers to publisher_name; the most games refers to max(count(publisher_id))
How many FIFA games are there across all platforms?
FIFA games refers to game_name LIKE '%FIFA%';
Activision refers to publisher_name = 'Activision';
which publisher refers to publisher_name; Overwatch refers to game_name = 'Overwatch';
game ID refers to game.id; genre ID 2 refers to genre_id = 2
total sales in all regions = MULTIPLY(SUM(num_sales), 100000);
name of games refers to game_name; racing genre refers to genre_name = 'Racing';
which publisher refers to publisher_name; publisher that has published the most number of Action games refers to MAX(COUNT(publisher_name)) WHERE genre_name = 'Action'; Action games refers to game_name WHERE genre_name = 'Action';
adventure games refers to game_name WHERE genre_name = 'Adventure'; released in 2005 refers to release_year = 2005;
sports game refers to genre_name = 'Sports'; simulation game refers to genre_name = 'Simulation'; how many more = subtract(sum(game_id where genre_name = 'Sports'), sum(game_id where genre_name = 'Simulation'))
which region refers to region_name; lowest number of sales refers to MIN(num_sales);
role-playing game refers to genre_name = 'Role-Playing'
List the game IDs of the games produced by Abylight.
Abylight refers to publisher_name = 'Abylight';
number of sales refers to multiply(num_sales, 100000)
released in 1990 refers to release_year = 1990; 2000 refers to release_year = 2000;
publishers refers to publisher_name; number of sales less than 10000 refers to num_sales < 0.1;
publisher refers to publisher_name; the most games refers to max(count(publisher_id))
on the Wii platform refers to platform_name = 'Wii'
adventure games refers to game_name WHERE genre_name = 'Adventure'; released in 2005 refers to release_year = 2005;
game "ModNation Racers" refers to game_name = 'ModNation Racers'
id of game refers to game.id; "Resident Evil Archives: Resident Evil" refers to game_name = 'Resident Evil Archives: Resident Evil'
Activision refers to publisher_name = 'Activision';
name of games refers to game_name; adventure games refers to game_name WHERE genre_name = 'Adventure';
List down the names of the games in the racing genre.
name of games refers to game_name; racing genre refers to genre_name = 'Racing';
genre of the game refers to genre_name; '999: Nine Hours, Nine Persons, Nine Doors' refers to game_name = '999: Nine Hours, Nine Persons, Nine Doors';
when refers to release_year; the "Adventure Island" game refers to game_name = 'Adventure Island'
released in 2007 refers to release_year = 2007;
platform that is the most popular refers to platform_name WHERE MAX(num_sales); in Europe refers to region_name = 'Europe' ;
average number = divide(count(game_id), count(publisher_id))
names of games refers to game_name; released in 2015 refers to release_year = 2015;
the earliest refers to min(release_year); name of platform refers to platform_name
publisher refers to publisher_name; publisher who has published the most games of all time refers to MAX(COUNT(publisher_name));
on the DS platform refers to platform_name = 'DS'; number of games sold on average = divide(sum(multiply(num_sales, 100000)), 4) where platform_name = 'DS'
published by Ascaron Entertainment GmbH refers to publisher_name = 'Ascaron Entertainment GmbH'
Provide the name of game produced by 505 Games in 2006.
name of game refers to game_name; 505 Games refers to publisher_name = '505 Games'; in 2006 refers to release_year = 2006;
fighting genre refers to genre_name = 'Fighting';
X360 refers to platform_name = 'X360';
platform refers to platform_name;
the first year refers to min(release_year)
difference = SUBTRACT(SUM(num_sales WHERE region_id = 2), SUM(num_sales WHERE region_id = 3));
total number of games sold = MULTIPLY(SUM(num_sales), 100000);
sports game refers to genre_name = 'Sports'; simulation game refers to genre_name = 'Simulation'; how many more = subtract(sum(game_id where genre_name = 'Sports'), sum(game_id where genre_name = 'Simulation'))
which region refers to region_name; lowest number of sales refers to MIN(num_sales);
on PS4 refers to platform_name = 'PS4'; in 2014 refers to release_year = 2014
FIFA games refers to game_name LIKE '%FIFA%';
Indicate the publisher who has published the most games of all time.
publisher refers to publisher_name; publisher who has published the most games of all time refers to MAX(COUNT(publisher_name));
on the Wii platform refers to platform_name = 'Wii'
X360 refers to platform_name = 'X360';
id of game platform refers to game_platform_id; the most sales refers to max(num_sales); in Japan refers to region_name = 'Japan'
3 largest numbers of games sold refers to game_name where MAX(num_sales) LIMIT 3;
total sales in all regions = MULTIPLY(SUM(num_sales), 100000);
games refers to game_name; "Activision" refers to publisher_name = 'Activision';
released in the year 2001 refers to release_year = 2001;
which publisher refers to publisher_name; Overwatch refers to game_name = 'Overwatch';
when the game was released refers to release_year;
difference = SUBTRACT(SUM(platform_name = 'PS3'), SUM(platform_name = 'X360')); PS3 refers to platform_name = 'PS3'; X360 refers to platform_name = 'X360';
List down the name of strategy games.
strategy games refers to game_name WHERE genre_name = 'Strategy';
total number of games sold = MULTIPLY(num_sales, 100000); Europe refers to region_name = 'Europe';
platform that is the most popular refers to platform_name WHERE MAX(num_sales); in Europe refers to region_name = 'Europe' ;
the earliest refers to min(release_year); name of platform refers to platform_name
average = AVG(MULTIPLY(num_sales, 100000));
game refers to game_name; on the SCD platform refers to platform_name = 'SCD'
record ID refers to game.id; released between 2000 to 2003 refers to release_year BETWEEN 2000 AND 2003
what platform refers to platform_name; 3Xtreme refers to game_name = '3Xtreme';
genre refers to genre_name; 2010 FIFA World Cup South Africa refers to game_name = '2010 FIFA World Cup South Africa';
which region refers to region_name; lowest number of sales refers to MIN(num_sales);
role-playing game refers to genre_name = 'Role-Playing'; Microsoft Game Studios refers to publisher_name = 'Microsoft Game Studios'
List down the game ID of games with genre ID 2.
game ID refers to game.id; genre ID 2 refers to genre_id = 2
publisher refers to publisher_name; publisher who has published the most games of all time refers to MAX(COUNT(publisher_name));
Activision refers to publisher_name = 'Activision';
how many games = MULTIPLY(SUM(num_sales), 100000); PS3 refers to platform_name = 'PS3'; Japan refers to region_name = 'Japan';
platform that is the most popular refers to platform_name WHERE MAX(num_sales); in Europe refers to region_name = 'Europe' ;
which region refers to region_name; highest number of games sold on all platforms refers to MAX(SUM(num_sales));
on the DS platform refers to platform_name = 'DS'; number of games sold on average = divide(sum(multiply(num_sales, 100000)), 4) where platform_name = 'DS'
on the Wii platform refers to platform_name = 'Wii'
FIFA games refers to game_name LIKE '%FIFA%';
platform of the game refers to platform_name; "Final Fantasy XIII-2" refers to game_name = 'Final Fantasy XIII-2';
game platform refers to game_platform_id; the most popular refers to max(num_sales); in Europe refers to region_name = 'Europe'
What are the platform IDs of records released in 2006?
released in 1990 refers to release_year = 1990; 2000 refers to release_year = 2000;
released in 2001 refers to release_year = 2001
difference = SUBTRACT(SUM(platform_name = 'PS3'), SUM(platform_name = 'X360')); PS3 refers to platform_name = 'PS3'; X360 refers to platform_name = 'X360';
sports game refers to genre_name = 'Sports'; simulation game refers to genre_name = 'Simulation'; how many more = subtract(sum(game_id where genre_name = 'Sports'), sum(game_id where genre_name = 'Simulation'))
genre of the game refers to genre_name; game ID 119 refers to game.id = 119;
name of games refers to game_name; adventure games refers to game_name WHERE genre_name = 'Adventure';
total sales in all regions = MULTIPLY(SUM(num_sales), 100000);
when the game was released refers to release_year;
game ID refers to game.id; released in 2017 refers to release_year = 2017
platform game refers to genre_name = 'Platform'; game refers to game_name
region id refers to region.id; Japan refers to region_name = 'Japan'
When was the game titled 3DS Classic Collection released?
when refers to release_year; the game titled 3DS Classic Collection refers to game_name = '3DS Classic Collection'
PSP refers to platform_name = 'PSP'; released in 2004 refers to release_year = 2004;
game publisher's name refers to publisher_name; sales greater than 90% of the average sales refers to num_sales > multiply(0.9, avg(num_sales)); in Japan refers to region_name = 'Japan'
names of games refers to game_name; released in 2015 refers to release_year = 2015;
ratio = DIVIDE(SUM(num_sales WHERE region_name = 'North America'), SUM(num_sales WHERE region_name = 'Japan')); North America refers to region_name = 'North America'; Japan refers to region_name = 'Japan';
more than 200000 sales refers to SUM(num_sales) > 2; Japan refers to region_name = 'Japan';
name of publisher refers to publisher_name; puzzle refers to genre_name = 'Puzzle'
published by Namco Bandai Games refers to publisher_name = 'Namco Bandai Games'; adventure game refers to genre_name = 'Adventure'; percentage = divide(sum(game_id where genre_name = 'Adventure'), count(game_id)) * 100% where publisher_name = 'Namco Bandai Games'
the earliest refers to min(release_year); name of platform refers to platform_name
role-playing game refers to genre_name = 'Role-Playing'
number of games refers to count(game_id)
Which publisher has published the game 'Pachi-Slot Kanzen Kouryaku 3: Universal Koushiki Gaido Volume 3'?
which publisher refers to publisher_name; 'Pachi-Slot Kanzen Kouryaku 3: Universal Koushiki Gaido Volume 3' refers to game_name = 'Pachi-Slot Kanzen Kouryaku 3: Universal Koushiki Gaido Volume 3';
name of game refers to game_name; 505 Games refers to publisher_name = '505 Games'; in 2006 refers to release_year = 2006;
platform ID 15 refers to platform_id = 15
difference = SUBTRACT(SUM(num_sales WHERE region_id = 2), SUM(num_sales WHERE region_id = 3));
game "ModNation Racers" refers to game_name = 'ModNation Racers'
in 2004 refers to release_year = 2004; on PSP refers to platform_name = 'PSP'; percentage = divide(sum(platform_id where platform_name = 'PSP'), count(platform_id)) * 100% where release_year = 2004
platform that is the most popular refers to platform_name WHERE MAX(num_sales); in Europe refers to region_name = 'Europe' ;
platform refers to platform_name;
published by Acclaim Entertainment refers to publisher_name = 'Acclaim Entertainment'
reached 300000 sales and above refers to num_sales > 3
names of games refers to game_name; released in 2015 refers to release_year = 2015;
Show the id of game platform which makes the most sales in Japan.
id of game platform refers to game_platform_id; the most sales refers to max(num_sales); in Japan refers to region_name = 'Japan'
genre refers to genre_name; 'Airlock', 'Airline Tycoon' , and 'Airblade' refers to game_name IN ('Airlock', 'Airline Tycoon', 'Airblade');
total number of games sold = MULTIPLY(num_sales, 100000); Europe refers to region_name = 'Europe';
the first year refers to min(release_year)
year refers to release_year; "WiiU" refers to platform_name = 'WiiU'
Pro Evolution Soccer 2012 refers to game_name = 'Pro Evolution Soccer 2012'
genre refers to genre_name; 3D Lemmings refers to game_name = '3D Lemmings'
platform that is the most popular refers to platform_name WHERE MAX(num_sales); in Europe refers to region_name = 'Europe' ;
name of games refers to game_name; 'Pioneer LDC' refers to publisher_name = 'Pioneer LDC';
which publisher refers to publisher_name; 'Pachi-Slot Kanzen Kouryaku 3: Universal Koushiki Gaido Volume 3' refers to game_name = 'Pachi-Slot Kanzen Kouryaku 3: Universal Koushiki Gaido Volume 3';
publishers refers to publisher_name; number of sales less than 10000 refers to num_sales < 0.1;
List down the record ID of records released between 2000 to 2003.
record ID refers to game.id; released between 2000 to 2003 refers to release_year BETWEEN 2000 AND 2003
name of publisher refers to publisher_name; puzzle refers to genre_name = 'Puzzle'
published by Namco Bandai Games refers to publisher_name = 'Namco Bandai Games'; adventure game refers to genre_name = 'Adventure'; percentage = divide(sum(game_id where genre_name = 'Adventure'), count(game_id)) * 100% where publisher_name = 'Namco Bandai Games'
when refers to release_year; the game titled 3DS Classic Collection refers to game_name = '3DS Classic Collection'
region id refers to region.id; Japan refers to region_name = 'Japan'
average number = divide(count(game_id), count(publisher_id))
published by Acclaim Entertainment refers to publisher_name = 'Acclaim Entertainment'
genre ID 3 refers to genre.id = 3
strategy games refers to game_name WHERE genre_name = 'Strategy';
total number of games sold = MULTIPLY(SUM(num_sales), 100000);
genre refers to genre_name; 2010 FIFA World Cup South Africa refers to game_name = '2010 FIFA World Cup South Africa';
How many sales does game platform id 3871 make in Europe?
number of sales = multiply(num_sales, 100000); in Europe refers to region_name = 'Europe'
name of games refers to game_name;  'SCD' platform refers to platform_name = 'SCD';
which publisher refers to publisher_name; publisher that has published the most number of Action games refers to MAX(COUNT(publisher_name)) WHERE genre_name = 'Action'; Action games refers to game_name WHERE genre_name = 'Action';
in Japan refers to region_name = 'Japan'; average number of sales = multiply(avg(num_sales), 100000) where region_name = 'Japan'
released in 2001 refers to release_year = 2001
X360 refers to platform_name = 'X360';
platform game refers to genre_name = 'Platform'; game refers to game_name
platform ID 15 refers to platform_id = 15
number of sales refers to multiply(num_sales, 100000)
platform of the game refers to platform_name; "Final Fantasy XIII-2" refers to game_name = 'Final Fantasy XIII-2';
name of publisher refers to publisher_name; the game ID 75 refers to game_id = 75
Provide the name of games released in 2015.
names of games refers to game_name; released in 2015 refers to release_year = 2015;
how many games = MULTIPLY(SUM(num_sales), 100000); PS3 refers to platform_name = 'PS3'; Japan refers to region_name = 'Japan';
publishers that have Interactive in their names refers to publisher_name LIKE '%Interactive%';
in Japan refers to region_name = 'Japan'; average number of sales = multiply(avg(num_sales), 100000) where region_name = 'Japan'
publishers refers to publisher_name; number of sales less than 10000 refers to num_sales < 0.1;
genre ID 3 refers to genre.id = 3
X360 refers to platform_name = 'X360';
platform ID 15 refers to platform_id = 15
game ID refers to game.id; genre ID 2 refers to genre_id = 2
puzzle refers to genre_name = 'Puzzle'; more than 3 puzzle games refers to count(game_id where genre_name = 'Puzzle') > 3
game platform refers to game_platform_id; the most popular refers to max(num_sales); in Europe refers to region_name = 'Europe'
What is the genre of the game "Mario vs. Donkey Kong"?
genre refers to genre_name; game "Mario vs. Donkey Kong" refers to game_name = 'Mario vs. Donkey Kong'
year refers to release_year; "WiiU" refers to platform_name = 'WiiU'
which publisher refers to publisher_name; 'Pachi-Slot Kanzen Kouryaku 3: Universal Koushiki Gaido Volume 3' refers to game_name = 'Pachi-Slot Kanzen Kouryaku 3: Universal Koushiki Gaido Volume 3';
year that has the most number of video game releases refers to MAX(COUNT(release_year));
adventure games refers to game_name WHERE genre_name = 'Adventure'; released in 2005 refers to release_year = 2005;
record ID refers to game.id; released between 2000 to 2003 refers to release_year BETWEEN 2000 AND 2003
name of games refers to game_name; 'Pioneer LDC' refers to publisher_name = 'Pioneer LDC';
name of the games refers to game_name; released in the year 2010 refers to release_year = 2010;
in 2004 refers to release_year = 2004; on PSP refers to platform_name = 'PSP'; percentage = divide(sum(platform_id where platform_name = 'PSP'), count(platform_id)) * 100% where release_year = 2004
year the first game was released refers to MIN(release_year);
name of games refers to game_name; adventure games refers to game_name WHERE genre_name = 'Adventure';
Give the number of games which were published by Ascaron Entertainment GmbH.
published by Ascaron Entertainment GmbH refers to publisher_name = 'Ascaron Entertainment GmbH'
adventure games refers to game_name WHERE genre_name = 'Adventure'; released in 2005 refers to release_year = 2005;
which regions refers to region_name; 'Pengo' refers to game_name = 'Pengo';
name of publisher refers to publisher_name; puzzle refers to genre_name = 'Puzzle'
published by Acclaim Entertainment refers to publisher_name = 'Acclaim Entertainment'
published by Namco Bandai Games refers to publisher_name = 'Namco Bandai Games'; adventure game refers to genre_name = 'Adventure'; percentage = divide(sum(game_id where genre_name = 'Adventure'), count(game_id)) * 100% where publisher_name = 'Namco Bandai Games'
game refers to game_name; the longest name refers to max(length(game_name))
name of games refers to game_name; racing genre refers to genre_name = 'Racing';
game platform refers to game_platform_id; the most popular refers to max(num_sales); in Europe refers to region_name = 'Europe'
difference = SUBTRACT(SUM(num_sales WHERE release_year = 2000), SUM(num_sales WHERE release_year = 1990));
how much are the sales = SUM(num_sales);
Jill ranked which medium-quality class product as the highest, and how long will it take the company to manufacture such a product?
second-lowest rating refers to Rating = 2; high-quality class product refers to Class = 'H'; length of time it takes the company to manufacture a product refers to DaysToManufacture;
Catgo Transport 5 is a name of shipping method; OrderDate = '2011-12-14'; total shipment cost = SUM(Freight);
thumbnail photo file refers to ThumbnailPhotoFileName;
Road Frames is a name of product subcategory
take more than 2 days to make refers to DaysToManufacture>2; out of stock refers to OnOrderQty = 0 or OnOrderQty is null; manufactured in house refers to MakeFlag = 1
AVG(Rating) = DIVIDE(SUM(rating), COUNT(ReviewerName))
store contact refers to PersonType = 'SC'; year(EndDate)>2007 and year(StartDate)<2007;
business ID refers to BusinessEntityID; sales total year to date refers to SalesYTD; most sales total year to date refers to MAX(SalesYTD);
customers' name refers to ReviewerName; best possible ratings means the highest rating = 5
Transactiontype = 'w' means 'WorkOrder'; transactiontype = 's' means 'SalesOrder'; transactiontype = 'P' means 'PurchaseOrder'; happened in refers to TransactionDate
Canada is name of sales territory
List all the scraped work orders for handling damage reason.
handling damage is descrription of manufacturing failure which refers to ScrapReason.Name
Profit on net = SUBTRACT(LastReceiptCost, StandardPrice); full location = AddressLine1+AddressLine2+City+PostalCode;
full name = FirstName+MiddleName+LastName; HiredDate refers to the date the person joins the company;
Profit = SUBTRACT(StandardPrice, LastRecipeCost)
Full address refers to AddressLine1+AddressLine2; business number 24 refers to BusinessEntityID = '24'
vendor's selling price refers to StandardPrice; lowest selling price = MIN(StandardPrice)
employee refers to PersonType = 'EM'; Male refers to Gender = 'M'; Average = Divide( SUM(VacationHours(PersonType = 'EM'& Gender = 'M')),Count(BusinessEntityID(PersonType = 'EM' & Gender = 'M')));
mountain product line refers to ProductLine = 'M'
assembly lines that are not finished refers to EndDate = null
take more than 2 days to make refers to DaysToManufacture>2; out of stock refers to OnOrderQty = 0 or OnOrderQty is null; manufactured in house refers to MakeFlag = 1
married refers to MaritalStatus = 'M'; male refers to Gender = 'M'; BirthDate < = '1959-12-31';
What profit will the company gain if they sell 10 items of the product that has the lightest weight?
Lightest product refers to Min(Weight); profit if they sell 10 items refers to Subtract (ListPrice , StandardCost) *10;
net profit = Subtract(LastReceiptCost, StandardPrice);
days to end a work order = SUBTRACT(ActualEndDate, ActualStartDate);
Profit = AVG(SUBTRACT(ListPrice, StandardCost)>100
percentage = DIVIDE(SUM(Name = 'Night')), (COUNT(ShiftID)) as percentage;
married refers to MaritalStatus = M; highest pay frequency refers to PayFrequency = 2
High quality refers to the product's quality class, therefore Class = 'H'; the lowest transacted quantity refers to Quantity = 1
business number 1580 refers to BusinessEntityID = 1580; Net profit = SUBTRACT(LastReceiptCost,StandardPrice)
highest rating refers to Rating = 5; profit = SUBTRACT(ListPrice, StandardCost);
France territory refers to SalesTerritory.Name = 'France';
assembly lines that are not finished refers to EndDate = null
Please list the products that are under the Clothing category that are manufactured in-house and salable.
product is manufactured in-house refers to MakeFlag = 1; salable product refers to FinishedGoodsFlag = 1;
price refers to ListPrice; highest price refers to MAX(ListPrice);
net profit = Subtract(LastReceiptCost, StandardPrice);
unmarried refers to MaritalStatus = 'S', male refers to Gender = 'M', Production Supervisors is a job title
cost refers to StandardCost;
Down Tube is a name of a product;
Pre assembly quantity refers to PerAssemblyQty
person number 18 refers to BusinessEntityID = 18; forename refers to FirstName
Job position and job title are synonyms; job position that was hired the most refers to MAX(COUNT(JobTitle); HireDate BETWEEN '2007-1-1' AND '2007-12-31';
price refers to ListPrice; price of 3 products = MULTIPLY(ListPrice, 3); Lock Washer 6 is a name of a product;
percentage = DIVIDE(Culture.Name = 'Thai', count(ALL Culture.Name))*100%
How many products with the highest unit price were ordered?
number of products refers to OrderQty
highest yearly sales quota refers to Max(SalesQuota);
shelves refer to shelf; down tube is a product
price refers to ListPrice; highest price refers to MAX(ListPrice);
cost refers to StandardCost;
seasonal discount is a type of special offer; discount percentage refers to DiscountPct; highest discount percentage refers to MAX(DiscountPct);
fewest online orders refer to MIN(Quantity);
profit on net = SUBTRACT(LastReceiptCost, StandardPrice);
employee refers to PersonType = 'EM'; Male refers to Gender = 'M'; Average = Divide( SUM(VacationHours(PersonType = 'EM'& Gender = 'M')),Count(BusinessEntityID(PersonType = 'EM' & Gender = 'M')));
Rejected refers rejected product in which to RejectedQty = 1
High quality refers to the product's quality class, therefore Class = 'H'; the lowest transacted quantity refers to Quantity = 1
Where are the shelves where the down tube product was stored?
shelves refer to shelf; down tube is a product
Minipump is name of a product
began work in 2009 or later refers to StartDate> = 2009;
The Road line refers to the product line, therefore ProductLine = 'R'
Do not have any work order ID means WorkOrderID is null
Night shift refers to Name = 'Night';
work order refers to TransactionType = 'W'; Quantity BETWEEN 100 AND 250; ReorderPoint< = 375;
average age = AVG(subtract(year(now), year(HireDate)))
last receipt date is August 17, 2011 refers to LastReceiptDate> = '2011-08-17 00:00:00' and LastReceiptDate < '2011-08-18 00:00:00';
shipment by truck refers to Name = 'XRQ - TRUCK GROUND';
StartDate BETWEEN '2009-01-01' AND '2009-12-31';
What are the company that Adventure Works deal with that have poor credit rating? Please provide their business number.
poor credit rating means bad credit; CreditRating = 5; Business number refers to BusinessEntityID
business along with their IDs = BusinessEntityID; Cellphones refers to PhoneNumberType.name = ‘cell’
Catherine Ward refers to the name of BusinessEntityID; how many letters in password for the e-mail account refers to LENGTH(PasswordHash)
order refers to SalesOrderID
compartment refers to Shelf; container refers to Bin; Lock Ring is a name of product
married employee refers to MaritalStatus = 'M'; less than 20 vacation hours refers to VacationHours<20
began work in 2009 or later refers to StartDate> = 2009;
Salespeople refers to PersonType = 'SP'
Next-Door Bike Store is name of a store
Mauritius Rupee is name of currency
cost refers to StandardCost;
What is the highest amount of difference between the ordered quantity and actual quantity received in a single purchase order and to which vendor was the purchase order made?
highest amount of difference between the ordered quantity and actual quantity received in a single purchase order refers to MAX(SUBTRACT(OrderQty, ReceivedQty));
High quality refers to the product's quality class, therefore Class = 'H'
CurrentFlag = 1 refers to the active status of employees; Percentage = Divide (Count (BusinessEntityID (CurrentFlag = 1 & VacationHours >20 & SickLeaveHours > 10)), Count (BusinessEntityID (CurrentFlag = 1 & SickLeaveHours>10))) * 100;
year(EndDate)>2009 and year(StartDate)<2009;
France territory refers to SalesTerritory.Name = 'France';
business number refers to BusinessEntityID where BusinessEntityID = 1496; how long does it take refers to AverageLeadTime
highest rating refers to MAX(Rating)
married refers to MaritalStatus = 'M'; western name style refers to NameStyle = 0; store contact refers to PersonType = 'SC'; probability = Divide (Count (BusinessEntityID( PersonType = 'SC' & MaritalStatus = 'M')), Count (BusinessEntityID ( PersonType) & MariatlStatus = 'M'))
hashed password refers to PasswordHash;
Next-Door Bike Store is name of a store
fewest online orders refer to MIN(Quantity);
Please list the reviewers who have given the highest rating for a medium class, women's product.
highest rating refers to Rating = 5; high class refers to Class = 'H'; men's product refers to Style = 'M'
work order refers to TransactionType = 'W'; Quantity BETWEEN 100 AND 250; ReorderPoint< = 375;
cost refers to StandardCost;
Average = Divide(Sum(Substract(year(@today),year(BirthDate))),Count(BusinessEntityID) by each Department ID; youngest employee refers to Min(BirthDate);
handling damage is descrription of manufacturing failure which refers to ScrapReason.Name
profit on net = SUBTRACT(LastReceiptCost, StandardPrice);
take more than 2 days to make refers to DaysToManufacture>2; out of stock refers to OnOrderQty = 0 or OnOrderQty is null
Complete sales task refers to meeting sales quota; if Bonus = 0, it means this salesperson doesn't meet quota and vice versa
If Name = "+" in the value from SalesTaxRate, it means this sales are charged by multiple types of tax; Quebec refers to the name of State Province
Pre assembly quantity refers to PerAssemblyQty
geographical location refers to group from SalesPerson; ComissionPct refers to commission percentage where ComissionPct > = 0.018;
Among the products that get over at least 1 review, how many of them are from the mountain product line?
mountain product line refers to ProductLine = 'M'
Pre assembly quantity refers to PerAssemblyQty
poor credit rating means bad credit; CreditRating = 5; Business number refers to BusinessEntityID
pay rate refers to Rate; 20 years old at the time of being hired refers to SUBTRACT(year(HireDate)), (year(BirthDate))) = 20;
business id refers to BusinessEntityID
Married refers to MaritalStatus = 'M';  non-sales employees refer to PersonType = 'EM'
average profit = DIVIDE(SUM(SUBTRACT(ListPrice, StandardCost))), (COUNT(ProductSubcategoryID))));
discount percentage refers to DiscountPct; highest discount percentage refers to MAX(DiscountPct);
Saved in English refers to product description written in English where Culture.name = 'English'
Product with the lowest rating refers to the rating given by the reviewer where Rating = 1
High quality refers to the product's quality class, therefore Class = 'H'
Is there a work order where the planned cost is different from the actual cost?
planned cost is different from actual cost refers to ActualCost ! = PlannedCost;
resellers refers to Category = 'Reseller';
married refers to MaritalStatus = M; highest pay frequency refers to PayFrequency = 2
Employees refer to PersonType = 'EM'; Single refers to MaritalStatus = 's'
store contact refers to PersonType = 'SC'; year(EndDate)>2007 and year(StartDate)<2007;
Down Tube is a name of a product;
mountain product line refers to ProductLine = 'M'; highest average rating = max(divide(sum(Rating), count(ProductReview)))
Valley Bicycle Specialists is a name of store; full address = AddressLine1+AddressLine2;
Address number 15873 refers to AddressID = '15873'; IsOnlyStateProvinceCode = '0' refers to StateProvinceCode exists; IsOnlyStateProvinceCode = '1' refers to StateProvinceCode unavailable;
employees that submitted resume to Human Resource Department and got hired refers to BusinessEntittyID NOT null;
began work in 2009 or later refers to StartDate> = 2009;
Name all products that started selling in 2013. State its respective vendor's name.
Started selling in 2013 refers to year(SellStartDate) = 2013;
employee number 257 refers to EmployeeID = 257; pending shipment status refers to Status = 3
job position and job title are synonyms; full name = FirstName+MiddleName+LastName;
Catherine Ward refers to the name of BusinessEntityID; how many letters in password for the e-mail account refers to LENGTH(PasswordHash)
Married refers to MaritalStatus = 'M';  non-sales employees refer to PersonType = 'EM'
highest rating refers to MAX(Rating)
active employee refers to CurrentFlag = 1; Rate< = 30;
Sales people refer to PersonType = 'SP'; projected yearly sales refers to SalesQuota
projected sales quota refers to SalesQuota; projected sales quota in 2013 refers to year(QuotaDate) = 2013;
Vista Card refers to CardType = 'Vista'; expire before the year 2007 refers to ExpYear< = 2006;
business id refers to BusinessEntityID;
What is the credit rating of the company whose average lead time is 16 days for a standard price of 18.9900 and whose last receipt date is August 27, 2011?
last receipt date is August 17, 2011 refers to LastReceiptDate> = '2011-08-17 00:00:00' and LastReceiptDate < '2011-08-18 00:00:00';
percentage = DIVIDE(Culture.Name = 'Thai', count(ALL Culture.Name))*100%
least amount of workers refers to MIN(count(DepartmentID));
low class refers to Class = 'L'; universal refers to Style = 'U'; road frame is a name of product subcategory; average profit = AVG(SUBTRACT(ListPrice, StandardCost);
take more than 2 days to make refers to DaysToManufacture>2; out of stock refers to OnOrderQty = 0 or OnOrderQty is null
documents pending approval refers to Status = 1
price refers to ListPrice;
cost refers to StandardCost;
Started selling in 2013 refers to year(SellStartDate) = 2013;
Stocked quantity refers to StockedQty
Catherine Ward refers to the name of BusinessEntityID; how many letters in password for the e-mail account refers to LENGTH(PasswordHash)
How many customers gave a product the best possible rating? Please list their names.
customers' name refers to ReviewerName; best possible ratings means the highest rating = 5
highest amount of difference between the ordered quantity and actual quantity received in a single purchase order refers to MAX(SUBTRACT(OrderQty, ReceivedQty));
full name = FirstName+MiddleName+LastName;
High quality refers to the product's quality class, therefore Class = 'H'; the lowest transacted quantity refers to Quantity = 1
credit card number refers to CardNumber; employees who left the department refers to EndDate NOT null; Engineering Department is a name of department;
not recommended refers to PreferredVendorStatus = 0;
profit = MULTIPLY(SUBTRACT(ListPrice, Standardcost)), (Quantity)));
Job position and job title are synonyms; job position that was hired the most refers to MAX(COUNT(JobTitle); HireDate BETWEEN '2007-1-1' AND '2007-12-31';
Pre assembly quantity refers to PerAssemblyQty
year of credit card expiration refers to ExpYear;
TransactionDate BETWEEN '2013-08-01' AND '2013-08-30'; sold in refers to TransactionType = 'S' which means SalesOrder;
How many of the non-sales employees are married?
Married refers to MaritalStatus = 'M';  non-sales employees refer to PersonType = 'EM'
price refers to ListPrice;
Oldest employee refers to Max ( Subtract((now())-BirthDate));
hired in 2009 refers to year(HireDate) = 2009
where the person live refers addresstype.Name = 'Home'
Debur and Polish is name of manufacturing location
BirthDate<'1980-01-01'; single refers to MaritalStatus = 'S' or null;
Product without any rejected quantity refers to RejectedQty = 0
type of credit card refers to CardType; CardType = 'Vista';
High quality refers to the product's quality class, therefore Class = 'H'; the lowest transacted quantity refers to Quantity = 1
Transactiontype = 'w' means 'WorkOrder'; transactiontype = 's' means 'SalesOrder'; transactiontype = 'P' means 'PurchaseOrder'; happened in refers to TransactionDate
Give the Mauritius Rupee's currency code.
Mauritius Rupee is name of currency
store contact refers to PersonType = 'SC';
Started selling in 2013 refers to year(SellStartDate) = 2013;
home manufactured refers to MakeFlag = 1; average rating = divide(sum(Rating), count(ProductReview))
Low quality refers to the product's quality class, therefore Class = 'L'
Accountant is a job title; first hired = MIN(HireDate)
Canada is name of sales territory
handling damage is descrription of manufacturing failure which refers to ScrapReason.Name
least number of sick leave refers to min(SickLeaveHours); PayFrequency = 1 means ‘Salary received monthly’; PayFrequency = 2 means ‘Salary received biweekly';
Saved in English refers to product description written in English where Culture.name = 'English'
married refers to MaritalStatus = M; highest pay frequency refers to PayFrequency = 2
List all the work orders that is related to the Down Tube.
Down Tube is a name of a product;
pay rate above 40 refers to Rate>40; male employee refers to Gender = M
year(EndDate)>2009 and year(StartDate)<2009;
business id refers to BusinessEntityID
Product with the lowest rating refers to the rating given by the reviewer where Rating = 1
married employee refers to MaritalStatus = 'M'; less than 20 vacation hours refers to VacationHours<20
price refers to ListPrice;
Profit = AVG(SUBTRACT(ListPrice, StandardCost)>100
minimum order quantity refers to MinOrderQty;
Department refers to Name where GroupName = 'Executive General and Administration'
year of credit card expiration refers to ExpYear; ExpYear = 2007; store contact refers to PersonType = 'SC';
List all the sales people in the Northwest US.
Northwest is name of SalesTerritory; US is the CountryRegionCode;
store contact refers to PersonType = 'SC';
hashed password refers to PasswordHash;
Complete sales task refers to meeting sales quota; if Bonus = 0, it means this salesperson doesn't meet quota and vice versa
minimum inventory quantity refers to SafetyStockLevel; chainring bolts is a name of product;
profit = MULTIPLY(SUBTRACT(ListPrice, Standardcost)), (Quantity)));
days to end a work order = SUBTRACT(ActualEndDate, ActualStartDate);
Lightest product refers to Min(Weight); profit if they sell 10 items refers to Subtract (ListPrice , StandardCost) *10;
manufactured in house refers to MakeFlag = 1; salable product refers to FinishedGoodsFlag = 1; over 10 reviews refers to count(comments)>10
high class refers to Class = 'H'; men's product refers to Style = 'M'
lowest rating refers to Rating = 1;
What is the price for the product with the id "912"?
price refers to ListPrice;
female refers to Gender = 'F'; employee who wish to receive email promotion refers to EmailPromotion = 1; percentage = DIVIDE(SUM(Gender = 'F')), (sum(Gender = 'F' or Gender = 'M'))) as percentage;
Saved in English refers to product description written in English where Culture.name = 'English'
average pay rate = AVG(Rate); work in 2007 refers to year(StartDate)<2007 AND year(EndDate)>2007;
in centimeter refers to SizeUnitMeasureCode = 'CM';
Pre assembly quantity refers to PerAssemblyQty
credit card number refers to CardNumber; employees who left the department refers to EndDate NOT null; Engineering Department is a name of department;
Purchase order with order quantity of 5000 or more refers to OrderQty> = 5000
business number 1580 refers to BusinessEntityID = 1580; Net profit = SUBTRACT(LastReceiptCost,StandardPrice)
net profit = Subtract(LastReceiptCost, StandardPrice);
shipping cost and Freight are synonyms; highest shipping cost refers to MAX(Freight);
What is the email address of the Facilities Manager?
Facilities Manager is a job title
net profit = Subtract(LastReceiptCost, StandardPrice);
job position and job title are synonyms; full name = FirstName+MiddleName+LastName;
full name = FirstName+MiddleName+LastName; HiredDate refers to the date the person joins the company;
Transactiontype = 'w' means 'WorkOrder'; transactiontype = 's' means 'SalesOrder'; transactiontype = 'P' means 'PurchaseOrder'; happened in refers to TransactionDate
SC is an abbreviation for Store Contact; store contact person refers to PersonType = 'SC'; recently hired refers to latest StartDate;
Doesn't have a State Province Code refers to IsOnlyStateProvinceFlag = 1 where StateProvinceCode is unavailable
more than 10 sick leave hours refers to SickLeaveHours>10; pay rate over 35 refers to Rate>35;
Employees refer to PersonType = 'EM'; Single refers to MaritalStatus = 's'
products using roadster_black_small.gif as the thumbnail photo refers to ThumbnailPhotoFileName = 'roadster_black_small.gif';
Northwest is name of SalesTerritory; US is the CountryRegionCode;
What is the hashed password of David Bradley?
hashed password refers to PasswordHash;
least amount of workers refers to MIN(count(DepartmentID));
salable product refers to FinishedGoodsFlag = 1; over 10 reviews refers to count(comments)>10
Lightest product refers to Min(Weight); profit if they sell 10 items refers to Subtract (ListPrice , StandardCost) *10;
order refers to SalesOrderID
employee number 257 refers to EmployeeID = 257; pending shipment status refers to Status = 3
proportion = DIVIDE(SUM(Name = 'UK')), (COUNT(SalesOrderID))) as count;
maximum orders refers to MaxOrderQty; MaxOrderQty BETWEEN '500' AND '750'; profit on net = SUBTRACT(LastReceiptCost, StandardPrice);
number of departments an employee works for between 2011 and 2012 refers to year(StartDate) BETWEEN 2011 AND 2012 and year(EndDate) BETWEEN 2011 and 2012;
Married refers to MaritalStatus = 'M';  non-sales employees refer to PersonType = 'EM'
began work in 2009 or later refers to StartDate> = 2009;
What is the profit on net of the vendor with the highest standard price? If there are two vendors of the same amount, calculate only for one vendor.
profit on net = SUBTRACT(LastReceiptCost, StandardPrice);
price refers to ListPrice; price of 3 products = MULTIPLY(ListPrice, 3); Lock Washer 6 is a name of a product;
mountain product line refers to ProductLine = 'M'; sold by over 5 vendors refers to count(Name)>5
Valley Bicycle Specialists is a name of store; full address = AddressLine1+AddressLine2;
employees refers to BusinessEntityID; most unused sick leave refers to MAX(SickLeaveHours); position title refers to JobTitle
last receipt date is August 17, 2011 refers to LastReceiptDate> = '2011-08-17 00:00:00' and LastReceiptDate < '2011-08-18 00:00:00';
second-lowest rating refers to Rating = 2; high-quality class product refers to Class = 'H'; length of time it takes the company to manufacture a product refers to DaysToManufacture;
discount percentage refers to DiscountPct; highest discount percentage refers to MAX(DiscountPct);
tax amount refers to TaxAmt; biggest tax amount refers to MAX(TaxAmt);
Employees who don't wish to receive e-mail promotions refers to EmailPromotion = 0;
vendor's selling price refers to StandardPrice; lowest selling price = MIN(StandardPrice)
List all product names that are high in quality. Please also state its selling price.
High quality refers to the product's quality class, therefore Class = 'H'
Profit = SUBTRACT(ListPrice, StandardCost); the highest rating in review refers to Rating = 5
year of credit card expiration refers to ExpYear; ExpYear = 2007; store contact refers to PersonType = 'SC';
in centimeter refers to SizeUnitMeasureCode = 'CM';
Salespeople refers to PersonType = 'SP'
products using roadster_black_small.gif as the thumbnail photo refers to ThumbnailPhotoFileName = 'roadster_black_small.gif';
highest yearly sales quota refers to Max(SalesQuota);
Road Frames is a name of product subcategory
United States refers to CountryRegionCode = 'US';
Valley Bicycle Specialists is a name of store; full address = AddressLine1+AddressLine2;
pay rate refers to Rate; 20 years old at the time of being hired refers to SUBTRACT(year(HireDate)), (year(BirthDate))) = 20;
How many departments did Sheela Ward work in between 1/1/2011 to 12/31/2012
number of departments an employee works for between 2011 and 2012 refers to year(StartDate) BETWEEN 2011 AND 2012 and year(EndDate) BETWEEN 2011 and 2012;
began work in 2009 or later refers to StartDate> = 2009;
hired in 2009 refers to year(HireDate) = 2009
Department refers to Name where GroupName = 'Executive General and Administration'
Full address refers to AddressLine1+AddressLine2; business number 24 refers to BusinessEntityID = '24'
active status of employees refers to CurrentFlag = 1; Male refers to Gender = 'M'; highest frequency refers to PayFrequency = 2;
salesperson that haven't met the quota refers to Bonus = 0;
proportion = DIVIDE(SUM(Name = 'UK')), (COUNT(SalesOrderID))) as count;
minimum inventory quantity refers to SafetyStockLevel; chainring bolts is a name of product;
product with large photo refers to LargePhoto NOT null;
Employees who don't wish to receive e-mail promotions refers to EmailPromotion = 0;
What is the weight in pounds of the style that is produced the most by the company? If there are multiple products sharing the same weight, indicate the name of each one of them and their corresponding weights.
weight in pounds refers to WeightUnitMeasureCode = 'LB';
Sales and Marketing is group name of a department
handling damage is descrription of manufacturing failure which refers to ScrapReason.Name
High quality refers to the product's quality class, therefore Class = 'H'; the lowest transacted quantity refers to Quantity = 1
high class refers to Class = 'H'; men's product refers to Style = 'M'
percentage = DIVIDE(Culture.Name = 'Thai', count(ALL Culture.Name))*100%
Complete sales task refers to meeting sales quota; if Bonus = 0, it means this salesperson doesn't meet quota and vice versa
product is mnanufactured in-house refers to MakeFlag = 1; salable product refers to FinishedGoodsFlag = 1;
located in the Subassembly category refers to Name = 'Subassembly'
year of credit card expiration refers to ExpYear; ExpYear = 2007; store contact refers to PersonType = 'SC';
year(StartDate) 2007; year of credit card expiration refers to ExpYear; ExpYear = 2007;
What is the average standard cost of product number CA-1098?
Average cost = AVG(StandardCost)
percentage of profit = DIVIDE(SUBTRACT(ListPrice, StandardCost), (StandardCost)) as percentage;
work order refers to TransactionType = 'W'; Quantity BETWEEN 100 AND 250; ReorderPoint< = 375;
Profit = SUBTRACT(ListPrice, StandardCost); the highest rating in review refers to Rating = 5
thumbnail photo file refers to ThumbnailPhotoFileName;
vendor's selling price refers to StandardPrice; lowest selling price = MIN(StandardPrice)
mountain product line refers to ProductLine = 'M'; highest average rating = max(divide(sum(Rating), count(ProductReview)))
Address number 15873 refers to AddressID = '15873'; IsOnlyStateProvinceCode = '0' refers to StateProvinceCode exists; IsOnlyStateProvinceCode = '1' refers to StateProvinceCode unavailable;
highest pay rate refers to MAX(Rate);
Married refers to MaritalStatus = 'M';  non-sales employees refer to PersonType = 'EM'
home manufactured refers to MakeFlag = 1; average rating = divide(sum(Rating), count(ProductReview))
How many assembly items for bicycles aren't finished?
assembly lines that are not finished refers to EndDate = null
least number of sick leave refers to min(SickLeaveHours); PayFrequency = 1 means ‘Salary received monthly’; PayFrequency = 2 means ‘Salary received biweekly';
most reviews refers to MAX(count(ProductID))
employees who left a department refers to EndDate NOT null; average stay = AVG(SUBTRACT(year(EndDate)), (year(T1.StartDate)));
not recommended refers to PreferredVendorStatus = 0;
Lightest product refers to Min(Weight); profit if they sell 10 items refers to Subtract (ListPrice , StandardCost) *10;
Do not have any work order ID means WorkOrderID is null
cost refers to StandardCost;
amount to be paid refers to TotalDue;
high class refers to Class = 'H'; men's product refers to Style = 'M'
tax applied to retail transaction refers to Taxtype = 1; sales that are charged with multiple types of tax refers to NAME LIKE '%+%';
Please list the names of all the store contact employees whose credit cards expired in 2007.
year of credit card expiration refers to ExpYear; ExpYear = 2007; store contact refers to PersonType = 'SC';
Stocked quantity refers to StockedQty
married refers to MaritalStatus = 'M'; male refers to Gender = 'M'; BirthDate < = '1959-12-31';
The Road line refers to the product line, therefore ProductLine = 'R'
United States refers to CountryRegionCode = 'US';
married refers to MaritalStatus = 'M'; Contact does wish to receive e-mail promotions from Adventure Works refers to EmailPromotion = 1; Average = Divide (Sum(Rate (MaritalStatus = 'M' & EmailPromotion = 1))), Count (BusinessEntityID (MaritalStatus = 'M' & EmailPromotion = 1)); MAX(Rate (MaritalStatus = 'M' & EmailPromotion = 1) - Average;
cost refers to StandardCost;
288th sales person refers to BusinessEntityID = 288; predited annual sales refers to SalesQuota; actual sales refers to SalesYTD; difference = Substract(SalesQuota(BusinessEntityID(288))), (SalesYTD(BusinessEntityID(288)));
Northwest is name of SalesTerritory; US is the CountryRegionCode;
married refers to MaritalStatus = M; highest pay frequency refers to PayFrequency = 2
ModifiedDate between'2014-09-12 00:00:00' and '2014-09-12 23:59:59';
Name all salaried employee who are hired in 2007 and later.
salaried employee refers to SalariedFlag = 1; hired in 2007 and later refers to year(HireDate)> = 2007
lowest rating refers to Rating = 1;
least amount of workers refers to MIN(count(DepartmentID));
AVG(Rating) = DIVIDE(SUM(rating), COUNT(ReviewerName))
married refers to MaritalStatus = 'M'; male refers to Gender = 'M'; BirthDate < = '1959-12-31';
Located refers to the total address of the entity that comprises city, addressline1, addressline2
full name = FirstName+MiddleName+LastName; HiredDate refers to the date the person joins the company;
person number 18 refers to BusinessEntityID = 18; forename refers to FirstName
TransactionDate BETWEEN '2013-08-01' AND '2013-08-30'; sold in refers to TransactionType = 'S' which means SalesOrder;
Order Reference Number refers to ReferenceOrderID
least number of sick leave refers to min(SickLeaveHours); PayFrequency = 1 means ‘Salary received monthly’; PayFrequency = 2 means ‘Salary received biweekly';
Add the number of businesses that indicate their home address as their address and those whose address corresponds to the shipping address.
their home address as their address refers to AddressTypeID = 2; address corresponds to the shipping address refers to AddressTypeID = 5
take more than 2 days to make refers to DaysToManufacture>2; out of stock refers to OnOrderQty = 0 or OnOrderQty is null
Department refers to Name where GroupName = 'Executive General and Administration'
business ID refers to BusinessEntityID; sales total year to date refers to SalesYTD; most sales total year to date refers to MAX(SalesYTD);
salaried employee refers to SalariedFlag = 1; hired in 2007 and later refers to year(HireDate)> = 2007
Employees refer to PersonType = 'EM'; Single refers to MaritalStatus = 's'
Information Service is a name of department;
cost refers to StandardCost;
Catherine Ward refers to the name of BusinessEntityID; how many letters in password for the e-mail account refers to LENGTH(PasswordHash)
Profit = SUBTRACT(ListPrice, StandardCost); the highest rating in review refers to Rating = 5
projected sales quota refers to SalesQuota; projected sales quota in 2013 refers to year(QuotaDate) = 2013;
Calculate the profit of each products. List all products with more than $100 in profit.
Profit = AVG(SUBTRACT(ListPrice, StandardCost)>100
number of product rejected refers to ScrapedQty; trim length that is too long refers to scrap reason where Name = 'Trim length too long'
percentage of profit = DIVIDE(SUBTRACT(ListPrice, StandardCost), (StandardCost)) as percentage;
year of credit card expiration refers to ExpYear;
year(StartDate) 2007; year of credit card expiration refers to ExpYear; ExpYear = 2007;
business number 1580 refers to BusinessEntityID = 1580; Net profit = SUBTRACT(LastReceiptCost,StandardPrice)
employees that submitted resume to Human Resource Department and got hired refers to BusinessEntittyID NOT null;
tax applied to retail transaction refers to Taxtype = 1; sales that are charged with multiple types of tax refers to NAME LIKE '%+%';
Canada is name of sales territory
Night shift refers to Name = 'Night';
Catgo Transport 5 is a name of shipping method; OrderDate = '2011-12-14'; total shipment cost = SUM(Freight);
What is the location id for Debur and Polish?
Debur and Polish is name of manufacturing location
take more than 2 days to make refers to DaysToManufacture>2; out of stock refers to OnOrderQty = 0 or OnOrderQty is null; manufactured in house refers to MakeFlag = 1
planned cost is different from actual cost refers to ActualCost ! = PlannedCost;
low class refers to Class = 'L'; universal refers to Style = 'U'; road frame is a name of product subcategory; average profit = AVG(SUBTRACT(ListPrice, StandardCost);
minimum order quantity refers to MinOrderQty;
order refers to SalesOrderID
married refers to MaritalStatus = 'M'; Contact does wish to receive e-mail promotions from Adventure Works refers to EmailPromotion = 1; Average = Divide (Sum(Rate (MaritalStatus = 'M' & EmailPromotion = 1))), Count (BusinessEntityID (MaritalStatus = 'M' & EmailPromotion = 1)); MAX(Rate (MaritalStatus = 'M' & EmailPromotion = 1) - Average;
Hex Nut 5 is name of a product
unmarried refers to MaritalStatus = 'S', male refers to Gender = 'M', Production Supervisors is a job title
SUBTRACT(LastReceiptCost, StandardPrice) for ProductID where name = 'Freewheel'
year of credit card expiration refers to ExpYear; ExpYear = 2007; store contact refers to PersonType = 'SC';
What is the current status of the order with the highest shipping cost?
shipping cost and Freight are synonyms; highest shipping cost refers to MAX(Freight);
Vendor's selling price of a single product refers to UnitPrice;
located in the Subassembly category refers to Name = 'Subassembly'
Profit as 82.41 = SUTRACT(ListPrice, StandardCost); May of 2012 refers to StartDate = '2012-05'
product number = productID
High quality refers to the product's quality class, therefore Class = 'H'
began work in 2009 or later refers to StartDate> = 2009;
BirthDate<'1980-01-01'; single refers to MaritalStatus = 'S' or null;
LL Road Frame Sale is a description of special offer
average profit = DIVIDE(SUM(SUBTRACT(ListPrice, StandardCost))), (COUNT(ProductSubcategoryID))));
product maintenance documents are private refers to DocumentSummary = null
Where can I find the Valley Bicycle Specialists store?
Valley Bicycle Specialists is a name of store; full address = AddressLine1+AddressLine2;
Headset Ball Bearings is name of a product
compartment refers to Shelf; container refers to Bin; Lock Ring is a name of product
credit card number refers to CardNumber;
salable product refers to FinishedGoodsFlag = 1; over 10 reviews refers to count(comments)>10
business number refers to BusinessEntityID where BusinessEntityID = 1496; how long does it take refers to AverageLeadTime
card that expires in 2007 refers to ExpYear = 2007;
PreferredVendorStatus = 1 means 'Do not use if another vendor is available'; CreditRating = 2 means 'Preferred over other vendors supplying the same product'
Night shift refers to Name = 'Night';
Hex Nut 5 is name of a product
female refers to Gender = 'F'; employee who wish to receive email promotion refers to EmailPromotion = 1; percentage = DIVIDE(SUM(Gender = 'F')), (sum(Gender = 'F' or Gender = 'M'))) as percentage;
List all staff in the Shipping and Receiving department who are hired in 2009.
hired in 2009 refers to year(HireDate) = 2009
The Road line refers to the product line, therefore ProductLine = 'R'
Debur and Polish is name of manufacturing location
geographical location refers to group from SalesPerson; ComissionPct refers to commission percentage where ComissionPct > = 0.018;
Next-Door Bike Store is name of a store
Department refers to Name where GroupName = 'Executive General and Administration'
product with large photo refers to LargePhoto NOT null;
Complete sales task refers to meeting sales quota; if Bonus = 0, it means this salesperson doesn't meet quota and vice versa
Mauritius Rupee is name of currency
low class refers to Class = 'L'; universal refers to Style = 'U'; road frame is a name of product subcategory; average profit = AVG(SUBTRACT(ListPrice, StandardCost);
percentage = DIVIDE(SUM(Name = 'Night')), (COUNT(ShiftID)) as percentage;
What is the number of the sub categories for bikes?
Bike refers to the name of the product category, therefore ProductCategoryID = 1
Business along with their numbers refers to the BusinessEntityID; located in Duvall refers to City = 'Duvall'
Mauritius Rupee is name of currency
Production Technicians refer to the  JobTitle = 'Production Technician%'; single refers to MaritalStatus = 'S'; Vendor contact refers to PersonType = 'VC'
Socks is a name of product subcategory
Profit as 82.41 = SUTRACT(ListPrice, StandardCost); May of 2012 refers to StartDate = '2012-05'
miinimum order quantity refers to MinOrderQty = 100
store contact refers to PersonType = 'SC';
number of product rejected refers to ScrapedQty; trim length that is too long refers to scrap reason where Name = 'Trim length too long'
website purchasing link refers to PurchasingWebServiceURL
take more than 2 days to make refers to DaysToManufacture>2; out of stock refers to OnOrderQty = 0 or OnOrderQty is null; manufactured in house refers to MakeFlag = 1
Please list the names of the products that get over 10 reviews and a salable.
salable product refers to FinishedGoodsFlag = 1; over 10 reviews refers to count(comments)>10
salaried employee refers to SalariedFlag = 1; hired in 2007 and later refers to year(HireDate)> = 2007
average age = AVG(subtract(year(now), year(HireDate)))
more than 10 sick leave hours refers to SickLeaveHours>10; pay rate over 35 refers to Rate>35;
work order transaction refers to TransactionType = 'W';
Northwest is name of SalesTerritory; US is the CountryRegionCode;
geographical location refers to group from SalesPerson; ComissionPct refers to commission percentage where ComissionPct > = 0.018;
active status of employees refers to CurrentFlag = 1; Male refers to Gender = 'M'; highest frequency refers to PayFrequency = 2;
most reviews refers to MAX(count(ProductID))
person number 18 refers to BusinessEntityID = 18; forename refers to FirstName
Mauritius Rupee is name of currency
What is the highest pay rate of the employees who are exempt from collective bargaining?
employee exempt from collective bargaining refers to SalariedFlag = 1; highest pay rate refers to max(Rate)
second-lowest rating refers to Rating = 2; high-quality class product refers to Class = 'H'; length of time it takes the company to manufacture a product refers to DaysToManufacture;
increased their current year sales by more than 60% refers to DIVIDE(SUBTRACT(SalesYTD, SalesLastYear),SalesLastYear)>0.6
business along with their IDs = BusinessEntityID; Cellphones refers to PhoneNumberType.name = ‘cell’
active status of employees refers to CurrentFlag = 1; Male refers to Gender = 'M'; highest frequency refers to PayFrequency = 2;
Document Control Assistant refers  to the  JobTitle = 'Document Control Assistant'; hired on 2009/1/22 means the person's hiring date is HireDate = '2009-01-22'; private documents indicate that DocumentSummary is null; DIVIDE(COUNT(DocumentSummary is null), COUNT(DocumentSummary))*100
married refers to MaritalStatus = 'M'; western name style refers to NameStyle = 0; store contact refers to PersonType = 'SC'; probability = Divide (Count (BusinessEntityID( PersonType = 'SC' & MaritalStatus = 'M')), Count (BusinessEntityID ( PersonType) & MariatlStatus = 'M'))
active status of employees refers to CurrentFlag = 1;
amount to be paid refers to TotalDue;
type of employee refers to PersonType;
year of credit card expiration refers to ExpYear;
How many shipments by truck were made?
shipment by truck refers to Name = 'XRQ - TRUCK GROUND';
business ID refers to BusinessEntityID; sales total year to date refers to SalesYTD; most sales total year to date refers to MAX(SalesYTD);
increased their current year sales by more than 60% refers to DIVIDE(SUBTRACT(SalesYTD, SalesLastYear),SalesLastYear)>0.6
PreferredVendorStatus = 1 means 'Do not use if another vendor is available'; CreditRating = 2 means 'Preferred over other vendors supplying the same product'
sales order for 32 units refers to OrderQty = 32
AVG(Rating) = DIVIDE(SUM(rating), COUNT(ReviewerName))
vendor's selling price refers to StandardPrice
male refers to Gender = 'M'; employee refers to PersonType = 'EM'; percentage = DIVIDE(COUNT(Gender = 'M'), COUNT(PersonType = 'MY'))*100%;
cost refers to StandardCost;
company number 1 refers to BusinessEntityId = 1; employee refers to PersonType = 'EM'; full name refers to FirstName + MiddleName + LastName
Transactiontype = 'w' means 'WorkOrder'; transactiontype = 's' means 'SalesOrder'; transactiontype = 'P' means 'PurchaseOrder'; happened in refers to TransactionDate
Among the employees who wish to receive e-mail promotion from AdventureWorks, how many percent of them are female?
female refers to Gender = 'F'; employee who wish to receive email promotion refers to EmailPromotion = 1; percentage = DIVIDE(SUM(Gender = 'F')), (sum(Gender = 'F' or Gender = 'M'))) as percentage;
married refers to MaritalStatus = 'M'; western name style refers to NameStyle = 0; store contact refers to PersonType = 'SC'; probability = Divide (Count (BusinessEntityID( PersonType = 'SC' & MaritalStatus = 'M')), Count (BusinessEntityID ( PersonType) & MariatlStatus = 'M'))
profit on net = subtract(LastReceiptCost, StandardPrice); best profit on net refers to max(subtract(LastReceiptCost, StandardPrice))
Production Technicians refer to the  JobTitle = 'Production Technician%'; single refers to MaritalStatus = 'S'; Vendor contact refers to PersonType = 'VC'
number of departments an employee works for between 2011 and 2012 refers to year(StartDate) BETWEEN 2011 AND 2012 and year(EndDate) BETWEEN 2011 and 2012;
Low quality refers to the product's quality class, therefore Class = 'L'
store contact refers to PersonType = 'SC';
cost refers to StandardCost;
LL Road Frame Sale is a description of special offer
compartment refers to Shelf; container refers to Bin; Lock Ring is a name of product
most review refers to MAX(count(comments)); high class refers to Class = 'H'; medium class refers to Class = 'M'; low class refers to Class = 'L'
Among the products from the mountain product line, how many of them are sold by over 2 vendors?
mountain product line refers to ProductLine = 'M'; sold by over 5 vendors refers to count(Name)>5
purchase orders refers to TransactionType = 'P'; first six months of 2012 refers to TransactionDate bewteen '2012-01-01'and '2012-06-30'; average = DIVIDE(ActualCost where TransactionType = 'P', count(TransactionID))
low class refers to Class = 'L'; universal refers to Style = 'U'; road frame is a name of product subcategory; average profit = AVG(SUBTRACT(ListPrice, StandardCost);
Catgo Transport 5 is a name of shipping method; OrderDate = '2011-12-14'; total shipment cost = SUM(Freight);
percentage = DIVIDE(Culture.Name = 'Thai', count(ALL Culture.Name))*100%
year of credit card expiration refers to ExpYear; ExpYear = 2007; store contact refers to PersonType = 'SC';
profit = subtract(ListPrice, StandardCost); the depth the component from its parent refers to BOMLevel;
least number of sick leave refers to min(SickLeaveHours); PayFrequency = 1 means ‘Salary received monthly’; PayFrequency = 2 means ‘Salary received biweekly';
last receipt date is August 17, 2011 refers to LastReceiptDate> = '2011-08-17 00:00:00' and LastReceiptDate < '2011-08-18 00:00:00';
Next-Door Bike Store is name of a store
full name = FirstName+MiddleName+LastName; Production Technician - WC50 is a job title;