db_id
stringlengths 3
31
| query
stringlengths 18
577
| question
stringlengths 3
224
| schema
stringlengths 177
6.14k
| primary_keys
stringlengths 16
545
| foreign_keys
stringlengths 16
1.48k
|
---|---|---|---|---|---|
yelp | SELECT SUM ( t2.likes ) FROM tip AS t2 JOIN business AS t1 ON t2.business_id = t1.business_id WHERE t1.name = "Cafe Zinho"; | What is the total likes on tips about " Cafe Zinho " | [Schema (values) (types)]: | yelp | business : bid (text) , business_id (number) , name (text) , full_address (text) , city (text) , latitude (text) , longitude (text) , review_count (text) , is_open (number) , rating (number) , state (number) | category : id (text) , business_id (number) , category_name (text) | user : uid (text) , user_id (number) , name (text) | checkin : cid (text) , business_id (number) , count (text) , day (text) | neighbourhood : id (text) , business_id (number) , neighbourhood_name (text) | review : rid (text) , business_id (number) , user_id (text) , rating (text) , text (text) , year (text) , month (text) | tip : tip_id (text) , business_id (number) , text (text) , user_id (text) , likes (text) , year (text) , month (text); | [Primary Keys]: business : bid, category : id, user : uid, checkin : cid, neighbourhood : id, review : rid, tip : tip_id | [Foreign Keys]: category : business_id = business : business_id | checkin : business_id = business : business_id | neighbourhood : business_id = business : business_id | review : user_id = user : user_id | review : business_id = business : business_id | tip : user_id = user : user_id | tip : business_id = business : business_id |
yelp | SELECT SUM ( t2.likes ) FROM tip AS t2 JOIN business AS t1 ON t2.business_id = t1.business_id JOIN USER AS t3 ON t3.user_id = t2.user_id WHERE t1.name = "Cafe Zinho" AND t3.name = "Niloofar"; | What is the total likes on tips from Niloofar about " Cafe Zinho " | [Schema (values) (types)]: | yelp | business : bid (text) , business_id (number) , name (text) , full_address (text) , city (text) , latitude (text) , longitude (text) , review_count (text) , is_open (number) , rating (number) , state (number) | category : id (text) , business_id (number) , category_name (text) | user : uid (text) , user_id (number) , name (text) | checkin : cid (text) , business_id (number) , count (text) , day (text) | neighbourhood : id (text) , business_id (number) , neighbourhood_name (text) | review : rid (text) , business_id (number) , user_id (text) , rating (text) , text (text) , year (text) , month (text) | tip : tip_id (text) , business_id (number) , text (text) , user_id (text) , likes (text) , year (text) , month (text); | [Primary Keys]: business : bid, category : id, user : uid, checkin : cid, neighbourhood : id, review : rid, tip : tip_id | [Foreign Keys]: category : business_id = business : business_id | checkin : business_id = business : business_id | neighbourhood : business_id = business : business_id | review : user_id = user : user_id | review : business_id = business : business_id | tip : user_id = user : user_id | tip : business_id = business : business_id |
yelp | SELECT COUNT ( DISTINCT t1.text ) FROM USER AS t2 JOIN tip AS t1 ON t2.user_id = t1.user_id WHERE t1.year = 2010 AND t2.name = "Michelle"; | How many tips has Michelle written in 2010 | [Schema (values) (types)]: | yelp | business : bid (text) , business_id (number) , name (text) , full_address (text) , city (text) , latitude (text) , longitude (text) , review_count (text) , is_open (number) , rating (number) , state (number) | category : id (text) , business_id (number) , category_name (text) | user : uid (text) , user_id (number) , name (text) | checkin : cid (text) , business_id (number) , count (text) , day (text) | neighbourhood : id (text) , business_id (number) , neighbourhood_name (text) | review : rid (text) , business_id (number) , user_id (text) , rating (text) , text (text) , year (text) , month (text) | tip : tip_id (text) , business_id (number) , text (text) , user_id (text) , likes (text) , year (text) , month (text); | [Primary Keys]: business : bid, category : id, user : uid, checkin : cid, neighbourhood : id, review : rid, tip : tip_id | [Foreign Keys]: category : business_id = business : business_id | checkin : business_id = business : business_id | neighbourhood : business_id = business : business_id | review : user_id = user : user_id | review : business_id = business : business_id | tip : user_id = user : user_id | tip : business_id = business : business_id |
yelp | SELECT COUNT ( DISTINCT t1.text ) FROM USER AS t2 JOIN tip AS t1 ON t2.user_id = t1.user_id WHERE t1.year = 2010 AND t2.name = "Michelle"; | Return me the number of tips that are written by Michelle in 2010 . | [Schema (values) (types)]: | yelp | business : bid (text) , business_id (number) , name (text) , full_address (text) , city (text) , latitude (text) , longitude (text) , review_count (text) , is_open (number) , rating (number) , state (number) | category : id (text) , business_id (number) , category_name (text) | user : uid (text) , user_id (number) , name (text) | checkin : cid (text) , business_id (number) , count (text) , day (text) | neighbourhood : id (text) , business_id (number) , neighbourhood_name (text) | review : rid (text) , business_id (number) , user_id (text) , rating (text) , text (text) , year (text) , month (text) | tip : tip_id (text) , business_id (number) , text (text) , user_id (text) , likes (text) , year (text) , month (text); | [Primary Keys]: business : bid, category : id, user : uid, checkin : cid, neighbourhood : id, review : rid, tip : tip_id | [Foreign Keys]: category : business_id = business : business_id | checkin : business_id = business : business_id | neighbourhood : business_id = business : business_id | review : user_id = user : user_id | review : business_id = business : business_id | tip : user_id = user : user_id | tip : business_id = business : business_id |
yelp | SELECT COUNT ( DISTINCT t1.text ) FROM USER AS t2 JOIN tip AS t1 ON t2.user_id = t1.user_id WHERE t1.month = "April" AND t2.name = "Michelle"; | How many tips has Michelle written in April | [Schema (values) (types)]: | yelp | business : bid (text) , business_id (number) , name (text) , full_address (text) , city (text) , latitude (text) , longitude (text) , review_count (text) , is_open (number) , rating (number) , state (number) | category : id (text) , business_id (number) , category_name (text) | user : uid (text) , user_id (number) , name (text) | checkin : cid (text) , business_id (number) , count (text) , day (text) | neighbourhood : id (text) , business_id (number) , neighbourhood_name (text) | review : rid (text) , business_id (number) , user_id (text) , rating (text) , text (text) , year (text) , month (text) | tip : tip_id (text) , business_id (number) , text (text) , user_id (text) , likes (text) , year (text) , month (text); | [Primary Keys]: business : bid, category : id, user : uid, checkin : cid, neighbourhood : id, review : rid, tip : tip_id | [Foreign Keys]: category : business_id = business : business_id | checkin : business_id = business : business_id | neighbourhood : business_id = business : business_id | review : user_id = user : user_id | review : business_id = business : business_id | tip : user_id = user : user_id | tip : business_id = business : business_id |
yelp | SELECT COUNT ( DISTINCT t1.name ) FROM category AS t2 JOIN business AS t1 ON t2.business_id = t1.business_id WHERE t1.state = "Texas" AND t2.category_name = "restaurant"; | what is the number of restaurant in Texas | [Schema (values) (types)]: | yelp | business : bid (text) , business_id (number) , name (text) , full_address (text) , city (text) , latitude (text) , longitude (text) , review_count (text) , is_open (number) , rating (number) , state (number) | category : id (text) , business_id (number) , category_name (text) | user : uid (text) , user_id (number) , name (text) | checkin : cid (text) , business_id (number) , count (text) , day (text) | neighbourhood : id (text) , business_id (number) , neighbourhood_name (text) | review : rid (text) , business_id (number) , user_id (text) , rating (text) , text (text) , year (text) , month (text) | tip : tip_id (text) , business_id (number) , text (text) , user_id (text) , likes (text) , year (text) , month (text); | [Primary Keys]: business : bid, category : id, user : uid, checkin : cid, neighbourhood : id, review : rid, tip : tip_id | [Foreign Keys]: category : business_id = business : business_id | checkin : business_id = business : business_id | neighbourhood : business_id = business : business_id | review : user_id = user : user_id | review : business_id = business : business_id | tip : user_id = user : user_id | tip : business_id = business : business_id |
yelp | SELECT COUNT ( DISTINCT t1.name ) FROM category AS t2 JOIN business AS t1 ON t2.business_id = t1.business_id WHERE t1.city = "Dallas" AND t1.rating > 3.5 AND t2.category_name = "Bars"; | How many Bars in " Dallas " have a rating above 3.5 ? | [Schema (values) (types)]: | yelp | business : bid (text) , business_id (number) , name (text) , full_address (text) , city (text) , latitude (text) , longitude (text) , review_count (text) , is_open (number) , rating (number) , state (number) | category : id (text) , business_id (number) , category_name (text) | user : uid (text) , user_id (number) , name (text) | checkin : cid (text) , business_id (number) , count (text) , day (text) | neighbourhood : id (text) , business_id (number) , neighbourhood_name (text) | review : rid (text) , business_id (number) , user_id (text) , rating (text) , text (text) , year (text) , month (text) | tip : tip_id (text) , business_id (number) , text (text) , user_id (text) , likes (text) , year (text) , month (text); | [Primary Keys]: business : bid, category : id, user : uid, checkin : cid, neighbourhood : id, review : rid, tip : tip_id | [Foreign Keys]: category : business_id = business : business_id | checkin : business_id = business : business_id | neighbourhood : business_id = business : business_id | review : user_id = user : user_id | review : business_id = business : business_id | tip : user_id = user : user_id | tip : business_id = business : business_id |
yelp | SELECT COUNT ( DISTINCT t1.name ) FROM category AS t2 JOIN business AS t1 ON t2.business_id = t1.business_id WHERE t1.city = "Dallas" AND t1.rating > 3.5 AND t2.category_name = "Bars"; | How many Bars in Dallas have a rating above 3.5 ? | [Schema (values) (types)]: | yelp | business : bid (text) , business_id (number) , name (text) , full_address (text) , city (text) , latitude (text) , longitude (text) , review_count (text) , is_open (number) , rating (number) , state (number) | category : id (text) , business_id (number) , category_name (text) | user : uid (text) , user_id (number) , name (text) | checkin : cid (text) , business_id (number) , count (text) , day (text) | neighbourhood : id (text) , business_id (number) , neighbourhood_name (text) | review : rid (text) , business_id (number) , user_id (text) , rating (text) , text (text) , year (text) , month (text) | tip : tip_id (text) , business_id (number) , text (text) , user_id (text) , likes (text) , year (text) , month (text); | [Primary Keys]: business : bid, category : id, user : uid, checkin : cid, neighbourhood : id, review : rid, tip : tip_id | [Foreign Keys]: category : business_id = business : business_id | checkin : business_id = business : business_id | neighbourhood : business_id = business : business_id | review : user_id = user : user_id | review : business_id = business : business_id | tip : user_id = user : user_id | tip : business_id = business : business_id |
yelp | SELECT COUNT ( DISTINCT t4.name ) FROM category AS t2 JOIN business AS t1 ON t2.business_id = t1.business_id JOIN review AS t3 ON t3.business_id = t1.business_id JOIN USER AS t4 ON t4.user_id = t3.user_id WHERE t1.city = "Dallas" AND t1.name = "Texas de Brazil" AND t1.state = "Texas" AND t2.category_name = "restaurant"; | How many people reviewed the restaurant " Texas de Brazil " in Dallas Texas ? | [Schema (values) (types)]: | yelp | business : bid (text) , business_id (number) , name (text) , full_address (text) , city (text) , latitude (text) , longitude (text) , review_count (text) , is_open (number) , rating (number) , state (number) | category : id (text) , business_id (number) , category_name (text) | user : uid (text) , user_id (number) , name (text) | checkin : cid (text) , business_id (number) , count (text) , day (text) | neighbourhood : id (text) , business_id (number) , neighbourhood_name (text) | review : rid (text) , business_id (number) , user_id (text) , rating (text) , text (text) , year (text) , month (text) | tip : tip_id (text) , business_id (number) , text (text) , user_id (text) , likes (text) , year (text) , month (text); | [Primary Keys]: business : bid, category : id, user : uid, checkin : cid, neighbourhood : id, review : rid, tip : tip_id | [Foreign Keys]: category : business_id = business : business_id | checkin : business_id = business : business_id | neighbourhood : business_id = business : business_id | review : user_id = user : user_id | review : business_id = business : business_id | tip : user_id = user : user_id | tip : business_id = business : business_id |
yelp | SELECT COUNT ( DISTINCT t3.name ) FROM review AS t2 JOIN business AS t1 ON t2.business_id = t1.business_id JOIN USER AS t3 ON t3.user_id = t2.user_id WHERE t1.name = "Bistro Di Napoli" AND t2.year = 2015; | How many people reviewed " Bistro Di Napoli " in 2015 ? | [Schema (values) (types)]: | yelp | business : bid (text) , business_id (number) , name (text) , full_address (text) , city (text) , latitude (text) , longitude (text) , review_count (text) , is_open (number) , rating (number) , state (number) | category : id (text) , business_id (number) , category_name (text) | user : uid (text) , user_id (number) , name (text) | checkin : cid (text) , business_id (number) , count (text) , day (text) | neighbourhood : id (text) , business_id (number) , neighbourhood_name (text) | review : rid (text) , business_id (number) , user_id (text) , rating (text) , text (text) , year (text) , month (text) | tip : tip_id (text) , business_id (number) , text (text) , user_id (text) , likes (text) , year (text) , month (text); | [Primary Keys]: business : bid, category : id, user : uid, checkin : cid, neighbourhood : id, review : rid, tip : tip_id | [Foreign Keys]: category : business_id = business : business_id | checkin : business_id = business : business_id | neighbourhood : business_id = business : business_id | review : user_id = user : user_id | review : business_id = business : business_id | tip : user_id = user : user_id | tip : business_id = business : business_id |
yelp | SELECT COUNT ( DISTINCT t1.name ) FROM category AS t3 JOIN business AS t1 ON t3.business_id = t1.business_id JOIN neighbourhood AS t2 ON t2.business_id = t1.business_id WHERE t1.city = "Dallas" AND t3.category_name = "restaurant" AND t2.neighbourhood_name = "Hazelwood"; | How many restaurant are there in the Hazelwood district of Dallas ? | [Schema (values) (types)]: | yelp | business : bid (text) , business_id (number) , name (text) , full_address (text) , city (text) , latitude (text) , longitude (text) , review_count (text) , is_open (number) , rating (number) , state (number) | category : id (text) , business_id (number) , category_name (text) | user : uid (text) , user_id (number) , name (text) | checkin : cid (text) , business_id (number) , count (text) , day (text) | neighbourhood : id (text) , business_id (number) , neighbourhood_name (text) | review : rid (text) , business_id (number) , user_id (text) , rating (text) , text (text) , year (text) , month (text) | tip : tip_id (text) , business_id (number) , text (text) , user_id (text) , likes (text) , year (text) , month (text); | [Primary Keys]: business : bid, category : id, user : uid, checkin : cid, neighbourhood : id, review : rid, tip : tip_id | [Foreign Keys]: category : business_id = business : business_id | checkin : business_id = business : business_id | neighbourhood : business_id = business : business_id | review : user_id = user : user_id | review : business_id = business : business_id | tip : user_id = user : user_id | tip : business_id = business : business_id |
yelp | SELECT COUNT ( DISTINCT business_id ) FROM business WHERE city = "Dallas" AND name = "Starbucks" AND state = "Texas"; | How many Starbucks are there in Dallas Texas ? | [Schema (values) (types)]: | yelp | business : bid (text) , business_id (number) , name (text) , full_address (text) , city (text) , latitude (text) , longitude (text) , review_count (text) , is_open (number) , rating (number) , state (number) | category : id (text) , business_id (number) , category_name (text) | user : uid (text) , user_id (number) , name (text) | checkin : cid (text) , business_id (number) , count (text) , day (text) | neighbourhood : id (text) , business_id (number) , neighbourhood_name (text) | review : rid (text) , business_id (number) , user_id (text) , rating (text) , text (text) , year (text) , month (text) | tip : tip_id (text) , business_id (number) , text (text) , user_id (text) , likes (text) , year (text) , month (text); | [Primary Keys]: business : bid, category : id, user : uid, checkin : cid, neighbourhood : id, review : rid, tip : tip_id | [Foreign Keys]: category : business_id = business : business_id | checkin : business_id = business : business_id | neighbourhood : business_id = business : business_id | review : user_id = user : user_id | review : business_id = business : business_id | tip : user_id = user : user_id | tip : business_id = business : business_id |
yelp | SELECT review_count FROM business WHERE name = "Acacia Cafe"; | How many reviews does " Acacia Cafe " have ? | [Schema (values) (types)]: | yelp | business : bid (text) , business_id (number) , name (text) , full_address (text) , city (text) , latitude (text) , longitude (text) , review_count (text) , is_open (number) , rating (number) , state (number) | category : id (text) , business_id (number) , category_name (text) | user : uid (text) , user_id (number) , name (text) | checkin : cid (text) , business_id (number) , count (text) , day (text) | neighbourhood : id (text) , business_id (number) , neighbourhood_name (text) | review : rid (text) , business_id (number) , user_id (text) , rating (text) , text (text) , year (text) , month (text) | tip : tip_id (text) , business_id (number) , text (text) , user_id (text) , likes (text) , year (text) , month (text); | [Primary Keys]: business : bid, category : id, user : uid, checkin : cid, neighbourhood : id, review : rid, tip : tip_id | [Foreign Keys]: category : business_id = business : business_id | checkin : business_id = business : business_id | neighbourhood : business_id = business : business_id | review : user_id = user : user_id | review : business_id = business : business_id | tip : user_id = user : user_id | tip : business_id = business : business_id |
yelp | SELECT AVG ( t3.count ) , t3.day FROM category AS t2 JOIN business AS t1 ON t2.business_id = t1.business_id JOIN checkin AS t3 ON t3.business_id = t1.business_id WHERE t1.name = "Barrio Cafe" AND t2.category_name = "restaurant" GROUP BY t3.day; | Find the average number of checkins in restaurant " Barrio Cafe " per day | [Schema (values) (types)]: | yelp | business : bid (text) , business_id (number) , name (text) , full_address (text) , city (text) , latitude (text) , longitude (text) , review_count (text) , is_open (number) , rating (number) , state (number) | category : id (text) , business_id (number) , category_name (text) | user : uid (text) , user_id (number) , name (text) | checkin : cid (text) , business_id (number) , count (text) , day (text) | neighbourhood : id (text) , business_id (number) , neighbourhood_name (text) | review : rid (text) , business_id (number) , user_id (text) , rating (text) , text (text) , year (text) , month (text) | tip : tip_id (text) , business_id (number) , text (text) , user_id (text) , likes (text) , year (text) , month (text); | [Primary Keys]: business : bid, category : id, user : uid, checkin : cid, neighbourhood : id, review : rid, tip : tip_id | [Foreign Keys]: category : business_id = business : business_id | checkin : business_id = business : business_id | neighbourhood : business_id = business : business_id | review : user_id = user : user_id | review : business_id = business : business_id | tip : user_id = user : user_id | tip : business_id = business : business_id |
yelp | SELECT COUNT ( DISTINCT t1.name ) FROM neighbourhood AS t2 JOIN business AS t1 ON t2.business_id = t1.business_id WHERE t1.city = "Madison" AND t2.neighbourhood_name = "Stone Meadows"; | How many businesses are there in the " Stone Meadows " neighbourhood in Madison ? | [Schema (values) (types)]: | yelp | business : bid (text) , business_id (number) , name (text) , full_address (text) , city (text) , latitude (text) , longitude (text) , review_count (text) , is_open (number) , rating (number) , state (number) | category : id (text) , business_id (number) , category_name (text) | user : uid (text) , user_id (number) , name (text) | checkin : cid (text) , business_id (number) , count (text) , day (text) | neighbourhood : id (text) , business_id (number) , neighbourhood_name (text) | review : rid (text) , business_id (number) , user_id (text) , rating (text) , text (text) , year (text) , month (text) | tip : tip_id (text) , business_id (number) , text (text) , user_id (text) , likes (text) , year (text) , month (text); | [Primary Keys]: business : bid, category : id, user : uid, checkin : cid, neighbourhood : id, review : rid, tip : tip_id | [Foreign Keys]: category : business_id = business : business_id | checkin : business_id = business : business_id | neighbourhood : business_id = business : business_id | review : user_id = user : user_id | review : business_id = business : business_id | tip : user_id = user : user_id | tip : business_id = business : business_id |
yelp | SELECT COUNT ( DISTINCT t1.text ) FROM USER AS t2 JOIN review AS t1 ON t2.user_id = t1.user_id WHERE t2.name = "Adrienne"; | How many reviews has Adrienne written ? | [Schema (values) (types)]: | yelp | business : bid (text) , business_id (number) , name (text) , full_address (text) , city (text) , latitude (text) , longitude (text) , review_count (text) , is_open (number) , rating (number) , state (number) | category : id (text) , business_id (number) , category_name (text) | user : uid (text) , user_id (number) , name (text) | checkin : cid (text) , business_id (number) , count (text) , day (text) | neighbourhood : id (text) , business_id (number) , neighbourhood_name (text) | review : rid (text) , business_id (number) , user_id (text) , rating (text) , text (text) , year (text) , month (text) | tip : tip_id (text) , business_id (number) , text (text) , user_id (text) , likes (text) , year (text) , month (text); | [Primary Keys]: business : bid, category : id, user : uid, checkin : cid, neighbourhood : id, review : rid, tip : tip_id | [Foreign Keys]: category : business_id = business : business_id | checkin : business_id = business : business_id | neighbourhood : business_id = business : business_id | review : user_id = user : user_id | review : business_id = business : business_id | tip : user_id = user : user_id | tip : business_id = business : business_id |
yelp | SELECT COUNT ( DISTINCT t1.text ) FROM USER AS t2 JOIN review AS t1 ON t2.user_id = t1.user_id WHERE t1.month = "March" AND t1.year = 2014 AND t2.name = "Michelle"; | How many reviews has Michelle written in March 2014 ? | [Schema (values) (types)]: | yelp | business : bid (text) , business_id (number) , name (text) , full_address (text) , city (text) , latitude (text) , longitude (text) , review_count (text) , is_open (number) , rating (number) , state (number) | category : id (text) , business_id (number) , category_name (text) | user : uid (text) , user_id (number) , name (text) | checkin : cid (text) , business_id (number) , count (text) , day (text) | neighbourhood : id (text) , business_id (number) , neighbourhood_name (text) | review : rid (text) , business_id (number) , user_id (text) , rating (text) , text (text) , year (text) , month (text) | tip : tip_id (text) , business_id (number) , text (text) , user_id (text) , likes (text) , year (text) , month (text); | [Primary Keys]: business : bid, category : id, user : uid, checkin : cid, neighbourhood : id, review : rid, tip : tip_id | [Foreign Keys]: category : business_id = business : business_id | checkin : business_id = business : business_id | neighbourhood : business_id = business : business_id | review : user_id = user : user_id | review : business_id = business : business_id | tip : user_id = user : user_id | tip : business_id = business : business_id |
yelp | SELECT COUNT ( DISTINCT t1.name ) FROM review AS t2 JOIN business AS t1 ON t2.business_id = t1.business_id JOIN USER AS t3 ON t3.user_id = t2.user_id WHERE t2.year = 2010 AND t3.name = "Michelle"; | How many businesses has Michelle reviewed in 2010 ? | [Schema (values) (types)]: | yelp | business : bid (text) , business_id (number) , name (text) , full_address (text) , city (text) , latitude (text) , longitude (text) , review_count (text) , is_open (number) , rating (number) , state (number) | category : id (text) , business_id (number) , category_name (text) | user : uid (text) , user_id (number) , name (text) | checkin : cid (text) , business_id (number) , count (text) , day (text) | neighbourhood : id (text) , business_id (number) , neighbourhood_name (text) | review : rid (text) , business_id (number) , user_id (text) , rating (text) , text (text) , year (text) , month (text) | tip : tip_id (text) , business_id (number) , text (text) , user_id (text) , likes (text) , year (text) , month (text); | [Primary Keys]: business : bid, category : id, user : uid, checkin : cid, neighbourhood : id, review : rid, tip : tip_id | [Foreign Keys]: category : business_id = business : business_id | checkin : business_id = business : business_id | neighbourhood : business_id = business : business_id | review : user_id = user : user_id | review : business_id = business : business_id | tip : user_id = user : user_id | tip : business_id = business : business_id |
yelp | SELECT COUNT ( DISTINCT t1.name ) FROM review AS t2 JOIN business AS t1 ON t2.business_id = t1.business_id JOIN USER AS t3 ON t3.user_id = t2.user_id WHERE t1.city = "San Diego" AND t2.year = 2010 AND t3.name = "Christine"; | How many businesses in " San Diego " has Christine reviewed in 2010 ? | [Schema (values) (types)]: | yelp | business : bid (text) , business_id (number) , name (text) , full_address (text) , city (text) , latitude (text) , longitude (text) , review_count (text) , is_open (number) , rating (number) , state (number) | category : id (text) , business_id (number) , category_name (text) | user : uid (text) , user_id (number) , name (text) | checkin : cid (text) , business_id (number) , count (text) , day (text) | neighbourhood : id (text) , business_id (number) , neighbourhood_name (text) | review : rid (text) , business_id (number) , user_id (text) , rating (text) , text (text) , year (text) , month (text) | tip : tip_id (text) , business_id (number) , text (text) , user_id (text) , likes (text) , year (text) , month (text); | [Primary Keys]: business : bid, category : id, user : uid, checkin : cid, neighbourhood : id, review : rid, tip : tip_id | [Foreign Keys]: category : business_id = business : business_id | checkin : business_id = business : business_id | neighbourhood : business_id = business : business_id | review : user_id = user : user_id | review : business_id = business : business_id | tip : user_id = user : user_id | tip : business_id = business : business_id |
yelp | SELECT COUNT ( DISTINCT business_id ) FROM business WHERE city = "Los Angeles" AND name = "Target"; | How many Target are there in " Los Angeles " ? | [Schema (values) (types)]: | yelp | business : bid (text) , business_id (number) , name (text) , full_address (text) , city (text) , latitude (text) , longitude (text) , review_count (text) , is_open (number) , rating (number) , state (number) | category : id (text) , business_id (number) , category_name (text) | user : uid (text) , user_id (number) , name (text) | checkin : cid (text) , business_id (number) , count (text) , day (text) | neighbourhood : id (text) , business_id (number) , neighbourhood_name (text) | review : rid (text) , business_id (number) , user_id (text) , rating (text) , text (text) , year (text) , month (text) | tip : tip_id (text) , business_id (number) , text (text) , user_id (text) , likes (text) , year (text) , month (text); | [Primary Keys]: business : bid, category : id, user : uid, checkin : cid, neighbourhood : id, review : rid, tip : tip_id | [Foreign Keys]: category : business_id = business : business_id | checkin : business_id = business : business_id | neighbourhood : business_id = business : business_id | review : user_id = user : user_id | review : business_id = business : business_id | tip : user_id = user : user_id | tip : business_id = business : business_id |
yelp | SELECT COUNT ( DISTINCT t4.name ) FROM category AS t2 JOIN business AS t1 ON t2.business_id = t1.business_id JOIN review AS t3 ON t3.business_id = t1.business_id JOIN USER AS t4 ON t4.user_id = t3.user_id WHERE t1.city = "Dallas" AND t2.category_name = "Irish Pub"; | How many users have reviewed Irish Pub in Dallas ? | [Schema (values) (types)]: | yelp | business : bid (text) , business_id (number) , name (text) , full_address (text) , city (text) , latitude (text) , longitude (text) , review_count (text) , is_open (number) , rating (number) , state (number) | category : id (text) , business_id (number) , category_name (text) | user : uid (text) , user_id (number) , name (text) | checkin : cid (text) , business_id (number) , count (text) , day (text) | neighbourhood : id (text) , business_id (number) , neighbourhood_name (text) | review : rid (text) , business_id (number) , user_id (text) , rating (text) , text (text) , year (text) , month (text) | tip : tip_id (text) , business_id (number) , text (text) , user_id (text) , likes (text) , year (text) , month (text); | [Primary Keys]: business : bid, category : id, user : uid, checkin : cid, neighbourhood : id, review : rid, tip : tip_id | [Foreign Keys]: category : business_id = business : business_id | checkin : business_id = business : business_id | neighbourhood : business_id = business : business_id | review : user_id = user : user_id | review : business_id = business : business_id | tip : user_id = user : user_id | tip : business_id = business : business_id |
yelp | SELECT AVG ( rating ) FROM review WHERE YEAR = 2014; | What is the average rating of reviews written in year 2014 ? | [Schema (values) (types)]: | yelp | business : bid (text) , business_id (number) , name (text) , full_address (text) , city (text) , latitude (text) , longitude (text) , review_count (text) , is_open (number) , rating (number) , state (number) | category : id (text) , business_id (number) , category_name (text) | user : uid (text) , user_id (number) , name (text) | checkin : cid (text) , business_id (number) , count (text) , day (text) | neighbourhood : id (text) , business_id (number) , neighbourhood_name (text) | review : rid (text) , business_id (number) , user_id (text) , rating (text) , text (text) , year (text) , month (text) | tip : tip_id (text) , business_id (number) , text (text) , user_id (text) , likes (text) , year (text) , month (text); | [Primary Keys]: business : bid, category : id, user : uid, checkin : cid, neighbourhood : id, review : rid, tip : tip_id | [Foreign Keys]: category : business_id = business : business_id | checkin : business_id = business : business_id | neighbourhood : business_id = business : business_id | review : user_id = user : user_id | review : business_id = business : business_id | tip : user_id = user : user_id | tip : business_id = business : business_id |
yelp | SELECT COUNT ( DISTINCT t4.name ) FROM category AS t2 JOIN business AS t1 ON t2.business_id = t1.business_id JOIN review AS t3 ON t3.business_id = t1.business_id JOIN USER AS t4 ON t4.user_id = t3.user_id WHERE t1.name = "Vintner Grill" AND t2.category_name = "category_category_name0" AND t3.year = 2010; | How many people reviewed restaurant " Vintner Grill " in 2010 ? | [Schema (values) (types)]: | yelp | business : bid (text) , business_id (number) , name (text) , full_address (text) , city (text) , latitude (text) , longitude (text) , review_count (text) , is_open (number) , rating (number) , state (number) | category : id (text) , business_id (number) , category_name (text) | user : uid (text) , user_id (number) , name (text) | checkin : cid (text) , business_id (number) , count (text) , day (text) | neighbourhood : id (text) , business_id (number) , neighbourhood_name (text) | review : rid (text) , business_id (number) , user_id (text) , rating (text) , text (text) , year (text) , month (text) | tip : tip_id (text) , business_id (number) , text (text) , user_id (text) , likes (text) , year (text) , month (text); | [Primary Keys]: business : bid, category : id, user : uid, checkin : cid, neighbourhood : id, review : rid, tip : tip_id | [Foreign Keys]: category : business_id = business : business_id | checkin : business_id = business : business_id | neighbourhood : business_id = business : business_id | review : user_id = user : user_id | review : business_id = business : business_id | tip : user_id = user : user_id | tip : business_id = business : business_id |
yelp | SELECT COUNT ( DISTINCT t3.text ) FROM neighbourhood AS t1 JOIN business AS t2 ON t1.business_id = t2.business_id JOIN review AS t3 ON t3.business_id = t2.business_id WHERE t1.neighbourhood_name = "South Summerlin"; | Find the number of reviews on businesses located in " South Summerlin " neighbourhood | [Schema (values) (types)]: | yelp | business : bid (text) , business_id (number) , name (text) , full_address (text) , city (text) , latitude (text) , longitude (text) , review_count (text) , is_open (number) , rating (number) , state (number) | category : id (text) , business_id (number) , category_name (text) | user : uid (text) , user_id (number) , name (text) | checkin : cid (text) , business_id (number) , count (text) , day (text) | neighbourhood : id (text) , business_id (number) , neighbourhood_name (text) | review : rid (text) , business_id (number) , user_id (text) , rating (text) , text (text) , year (text) , month (text) | tip : tip_id (text) , business_id (number) , text (text) , user_id (text) , likes (text) , year (text) , month (text); | [Primary Keys]: business : bid, category : id, user : uid, checkin : cid, neighbourhood : id, review : rid, tip : tip_id | [Foreign Keys]: category : business_id = business : business_id | checkin : business_id = business : business_id | neighbourhood : business_id = business : business_id | review : user_id = user : user_id | review : business_id = business : business_id | tip : user_id = user : user_id | tip : business_id = business : business_id |
yelp | SELECT COUNT ( DISTINCT name ) FROM USER WHERE name = "Michelle"; | Find the number of users called Michelle | [Schema (values) (types)]: | yelp | business : bid (text) , business_id (number) , name (text) , full_address (text) , city (text) , latitude (text) , longitude (text) , review_count (text) , is_open (number) , rating (number) , state (number) | category : id (text) , business_id (number) , category_name (text) | user : uid (text) , user_id (number) , name (text) | checkin : cid (text) , business_id (number) , count (text) , day (text) | neighbourhood : id (text) , business_id (number) , neighbourhood_name (text) | review : rid (text) , business_id (number) , user_id (text) , rating (text) , text (text) , year (text) , month (text) | tip : tip_id (text) , business_id (number) , text (text) , user_id (text) , likes (text) , year (text) , month (text); | [Primary Keys]: business : bid, category : id, user : uid, checkin : cid, neighbourhood : id, review : rid, tip : tip_id | [Foreign Keys]: category : business_id = business : business_id | checkin : business_id = business : business_id | neighbourhood : business_id = business : business_id | review : user_id = user : user_id | review : business_id = business : business_id | tip : user_id = user : user_id | tip : business_id = business : business_id |
yelp | SELECT COUNT ( DISTINCT t1.name ) FROM category AS t2 JOIN business AS t1 ON t2.business_id = t1.business_id WHERE t2.category_name = "restaurant"; | Return me the number of businesses that are restaurant . | [Schema (values) (types)]: | yelp | business : bid (text) , business_id (number) , name (text) , full_address (text) , city (text) , latitude (text) , longitude (text) , review_count (text) , is_open (number) , rating (number) , state (number) | category : id (text) , business_id (number) , category_name (text) | user : uid (text) , user_id (number) , name (text) | checkin : cid (text) , business_id (number) , count (text) , day (text) | neighbourhood : id (text) , business_id (number) , neighbourhood_name (text) | review : rid (text) , business_id (number) , user_id (text) , rating (text) , text (text) , year (text) , month (text) | tip : tip_id (text) , business_id (number) , text (text) , user_id (text) , likes (text) , year (text) , month (text); | [Primary Keys]: business : bid, category : id, user : uid, checkin : cid, neighbourhood : id, review : rid, tip : tip_id | [Foreign Keys]: category : business_id = business : business_id | checkin : business_id = business : business_id | neighbourhood : business_id = business : business_id | review : user_id = user : user_id | review : business_id = business : business_id | tip : user_id = user : user_id | tip : business_id = business : business_id |
yelp | SELECT COUNT ( DISTINCT city ) FROM business WHERE name = "Panda Express"; | Return me the number of cities that has " Panda Express " . | [Schema (values) (types)]: | yelp | business : bid (text) , business_id (number) , name (text) , full_address (text) , city (text) , latitude (text) , longitude (text) , review_count (text) , is_open (number) , rating (number) , state (number) | category : id (text) , business_id (number) , category_name (text) | user : uid (text) , user_id (number) , name (text) | checkin : cid (text) , business_id (number) , count (text) , day (text) | neighbourhood : id (text) , business_id (number) , neighbourhood_name (text) | review : rid (text) , business_id (number) , user_id (text) , rating (text) , text (text) , year (text) , month (text) | tip : tip_id (text) , business_id (number) , text (text) , user_id (text) , likes (text) , year (text) , month (text); | [Primary Keys]: business : bid, category : id, user : uid, checkin : cid, neighbourhood : id, review : rid, tip : tip_id | [Foreign Keys]: category : business_id = business : business_id | checkin : business_id = business : business_id | neighbourhood : business_id = business : business_id | review : user_id = user : user_id | review : business_id = business : business_id | tip : user_id = user : user_id | tip : business_id = business : business_id |
yelp | SELECT COUNT ( DISTINCT t1.text ) FROM USER AS t2 JOIN tip AS t1 ON t2.user_id = t1.user_id WHERE t2.name = "Michelle"; | Return me the number of tips that are written by Michelle . | [Schema (values) (types)]: | yelp | business : bid (text) , business_id (number) , name (text) , full_address (text) , city (text) , latitude (text) , longitude (text) , review_count (text) , is_open (number) , rating (number) , state (number) | category : id (text) , business_id (number) , category_name (text) | user : uid (text) , user_id (number) , name (text) | checkin : cid (text) , business_id (number) , count (text) , day (text) | neighbourhood : id (text) , business_id (number) , neighbourhood_name (text) | review : rid (text) , business_id (number) , user_id (text) , rating (text) , text (text) , year (text) , month (text) | tip : tip_id (text) , business_id (number) , text (text) , user_id (text) , likes (text) , year (text) , month (text); | [Primary Keys]: business : bid, category : id, user : uid, checkin : cid, neighbourhood : id, review : rid, tip : tip_id | [Foreign Keys]: category : business_id = business : business_id | checkin : business_id = business : business_id | neighbourhood : business_id = business : business_id | review : user_id = user : user_id | review : business_id = business : business_id | tip : user_id = user : user_id | tip : business_id = business : business_id |
yelp | SELECT SUM ( t3.count ) FROM checkin AS t3 JOIN business AS t1 ON t3.business_id = t1.business_id JOIN neighbourhood AS t2 ON t2.business_id = t1.business_id WHERE t2.neighbourhood_name = "Brighton Heights"; | Find the total checkins in " Brighton Heights " neighbourhood | [Schema (values) (types)]: | yelp | business : bid (text) , business_id (number) , name (text) , full_address (text) , city (text) , latitude (text) , longitude (text) , review_count (text) , is_open (number) , rating (number) , state (number) | category : id (text) , business_id (number) , category_name (text) | user : uid (text) , user_id (number) , name (text) | checkin : cid (text) , business_id (number) , count (text) , day (text) | neighbourhood : id (text) , business_id (number) , neighbourhood_name (text) | review : rid (text) , business_id (number) , user_id (text) , rating (text) , text (text) , year (text) , month (text) | tip : tip_id (text) , business_id (number) , text (text) , user_id (text) , likes (text) , year (text) , month (text); | [Primary Keys]: business : bid, category : id, user : uid, checkin : cid, neighbourhood : id, review : rid, tip : tip_id | [Foreign Keys]: category : business_id = business : business_id | checkin : business_id = business : business_id | neighbourhood : business_id = business : business_id | review : user_id = user : user_id | review : business_id = business : business_id | tip : user_id = user : user_id | tip : business_id = business : business_id |
yelp | SELECT COUNT ( DISTINCT text ) FROM review WHERE MONTH = "March"; | Find the total number of reviews written in March | [Schema (values) (types)]: | yelp | business : bid (text) , business_id (number) , name (text) , full_address (text) , city (text) , latitude (text) , longitude (text) , review_count (text) , is_open (number) , rating (number) , state (number) | category : id (text) , business_id (number) , category_name (text) | user : uid (text) , user_id (number) , name (text) | checkin : cid (text) , business_id (number) , count (text) , day (text) | neighbourhood : id (text) , business_id (number) , neighbourhood_name (text) | review : rid (text) , business_id (number) , user_id (text) , rating (text) , text (text) , year (text) , month (text) | tip : tip_id (text) , business_id (number) , text (text) , user_id (text) , likes (text) , year (text) , month (text); | [Primary Keys]: business : bid, category : id, user : uid, checkin : cid, neighbourhood : id, review : rid, tip : tip_id | [Foreign Keys]: category : business_id = business : business_id | checkin : business_id = business : business_id | neighbourhood : business_id = business : business_id | review : user_id = user : user_id | review : business_id = business : business_id | tip : user_id = user : user_id | tip : business_id = business : business_id |
yelp | SELECT COUNT ( DISTINCT text ) , MONTH FROM tip GROUP BY MONTH; | Find the number of tips written in each month | [Schema (values) (types)]: | yelp | business : bid (text) , business_id (number) , name (text) , full_address (text) , city (text) , latitude (text) , longitude (text) , review_count (text) , is_open (number) , rating (number) , state (number) | category : id (text) , business_id (number) , category_name (text) | user : uid (text) , user_id (number) , name (text) | checkin : cid (text) , business_id (number) , count (text) , day (text) | neighbourhood : id (text) , business_id (number) , neighbourhood_name (text) | review : rid (text) , business_id (number) , user_id (text) , rating (text) , text (text) , year (text) , month (text) | tip : tip_id (text) , business_id (number) , text (text) , user_id (text) , likes (text) , year (text) , month (text); | [Primary Keys]: business : bid, category : id, user : uid, checkin : cid, neighbourhood : id, review : rid, tip : tip_id | [Foreign Keys]: category : business_id = business : business_id | checkin : business_id = business : business_id | neighbourhood : business_id = business : business_id | review : user_id = user : user_id | review : business_id = business : business_id | tip : user_id = user : user_id | tip : business_id = business : business_id |
yelp | SELECT COUNT ( DISTINCT t1.neighbourhood_name ) FROM neighbourhood AS t1 JOIN business AS t2 ON t1.business_id = t2.business_id WHERE t2.city = "Madison" AND t2.rating = 5; | How many neighbourhoods have a business with rating 5 in Madison ? | [Schema (values) (types)]: | yelp | business : bid (text) , business_id (number) , name (text) , full_address (text) , city (text) , latitude (text) , longitude (text) , review_count (text) , is_open (number) , rating (number) , state (number) | category : id (text) , business_id (number) , category_name (text) | user : uid (text) , user_id (number) , name (text) | checkin : cid (text) , business_id (number) , count (text) , day (text) | neighbourhood : id (text) , business_id (number) , neighbourhood_name (text) | review : rid (text) , business_id (number) , user_id (text) , rating (text) , text (text) , year (text) , month (text) | tip : tip_id (text) , business_id (number) , text (text) , user_id (text) , likes (text) , year (text) , month (text); | [Primary Keys]: business : bid, category : id, user : uid, checkin : cid, neighbourhood : id, review : rid, tip : tip_id | [Foreign Keys]: category : business_id = business : business_id | checkin : business_id = business : business_id | neighbourhood : business_id = business : business_id | review : user_id = user : user_id | review : business_id = business : business_id | tip : user_id = user : user_id | tip : business_id = business : business_id |
yelp | SELECT t1.name FROM category AS t2 JOIN business AS t1 ON t2.business_id = t1.business_id JOIN category AS t3 ON t3.business_id = t1.business_id WHERE t1.state = "Texas" AND t2.category_name = "Moroccan" AND t3.category_name = "restaurant"; | Give me all the Moroccan restaurant in Texas | [Schema (values) (types)]: | yelp | business : bid (text) , business_id (number) , name (text) , full_address (text) , city (text) , latitude (text) , longitude (text) , review_count (text) , is_open (number) , rating (number) , state (number) | category : id (text) , business_id (number) , category_name (text) | user : uid (text) , user_id (number) , name (text) | checkin : cid (text) , business_id (number) , count (text) , day (text) | neighbourhood : id (text) , business_id (number) , neighbourhood_name (text) | review : rid (text) , business_id (number) , user_id (text) , rating (text) , text (text) , year (text) , month (text) | tip : tip_id (text) , business_id (number) , text (text) , user_id (text) , likes (text) , year (text) , month (text); | [Primary Keys]: business : bid, category : id, user : uid, checkin : cid, neighbourhood : id, review : rid, tip : tip_id | [Foreign Keys]: category : business_id = business : business_id | checkin : business_id = business : business_id | neighbourhood : business_id = business : business_id | review : user_id = user : user_id | review : business_id = business : business_id | tip : user_id = user : user_id | tip : business_id = business : business_id |
yelp | SELECT t1.name FROM checkin AS t2 JOIN business AS t1 ON t2.business_id = t1.business_id GROUP BY t1.name ORDER BY SUM ( t2.count ) DESC LIMIT 1; | which business has the most number of checkins | [Schema (values) (types)]: | yelp | business : bid (text) , business_id (number) , name (text) , full_address (text) , city (text) , latitude (text) , longitude (text) , review_count (text) , is_open (number) , rating (number) , state (number) | category : id (text) , business_id (number) , category_name (text) | user : uid (text) , user_id (number) , name (text) | checkin : cid (text) , business_id (number) , count (text) , day (text) | neighbourhood : id (text) , business_id (number) , neighbourhood_name (text) | review : rid (text) , business_id (number) , user_id (text) , rating (text) , text (text) , year (text) , month (text) | tip : tip_id (text) , business_id (number) , text (text) , user_id (text) , likes (text) , year (text) , month (text); | [Primary Keys]: business : bid, category : id, user : uid, checkin : cid, neighbourhood : id, review : rid, tip : tip_id | [Foreign Keys]: category : business_id = business : business_id | checkin : business_id = business : business_id | neighbourhood : business_id = business : business_id | review : user_id = user : user_id | review : business_id = business : business_id | tip : user_id = user : user_id | tip : business_id = business : business_id |
yelp | SELECT t1.neighbourhood_name FROM neighbourhood AS t1 JOIN business AS t2 ON t1.business_id = t2.business_id WHERE t2.city = "Madison" GROUP BY t1.neighbourhood_name ORDER BY COUNT ( DISTINCT t2.name ) DESC LIMIT 1; | which neighbourhood has the most number of businesses in Madison | [Schema (values) (types)]: | yelp | business : bid (text) , business_id (number) , name (text) , full_address (text) , city (text) , latitude (text) , longitude (text) , review_count (text) , is_open (number) , rating (number) , state (number) | category : id (text) , business_id (number) , category_name (text) | user : uid (text) , user_id (number) , name (text) | checkin : cid (text) , business_id (number) , count (text) , day (text) | neighbourhood : id (text) , business_id (number) , neighbourhood_name (text) | review : rid (text) , business_id (number) , user_id (text) , rating (text) , text (text) , year (text) , month (text) | tip : tip_id (text) , business_id (number) , text (text) , user_id (text) , likes (text) , year (text) , month (text); | [Primary Keys]: business : bid, category : id, user : uid, checkin : cid, neighbourhood : id, review : rid, tip : tip_id | [Foreign Keys]: category : business_id = business : business_id | checkin : business_id = business : business_id | neighbourhood : business_id = business : business_id | review : user_id = user : user_id | review : business_id = business : business_id | tip : user_id = user : user_id | tip : business_id = business : business_id |
yelp | SELECT t1.name FROM category AS t2 JOIN business AS t1 ON t2.business_id = t1.business_id JOIN category AS t3 ON t3.business_id = t1.business_id WHERE t1.city = "Dallas" AND t1.rating > 3.5 AND t2.category_name = "Mexican" AND t3.category_name = "restaurant"; | Find all Mexican restaurant in Dallas with at least 3.5 stars | [Schema (values) (types)]: | yelp | business : bid (text) , business_id (number) , name (text) , full_address (text) , city (text) , latitude (text) , longitude (text) , review_count (text) , is_open (number) , rating (number) , state (number) | category : id (text) , business_id (number) , category_name (text) | user : uid (text) , user_id (number) , name (text) | checkin : cid (text) , business_id (number) , count (text) , day (text) | neighbourhood : id (text) , business_id (number) , neighbourhood_name (text) | review : rid (text) , business_id (number) , user_id (text) , rating (text) , text (text) , year (text) , month (text) | tip : tip_id (text) , business_id (number) , text (text) , user_id (text) , likes (text) , year (text) , month (text); | [Primary Keys]: business : bid, category : id, user : uid, checkin : cid, neighbourhood : id, review : rid, tip : tip_id | [Foreign Keys]: category : business_id = business : business_id | checkin : business_id = business : business_id | neighbourhood : business_id = business : business_id | review : user_id = user : user_id | review : business_id = business : business_id | tip : user_id = user : user_id | tip : business_id = business : business_id |
yelp | SELECT t1.name FROM category AS t2 JOIN business AS t1 ON t2.business_id = t1.business_id JOIN category AS t3 ON t3.business_id = t1.business_id WHERE t1.city = "Dallas" AND t1.rating > 3.5 AND t2.category_name = "Mexican" AND t3.category_name = "restaurant"; | Find all Mexican restaurant in Dallas with a rating above 3.5 | [Schema (values) (types)]: | yelp | business : bid (text) , business_id (number) , name (text) , full_address (text) , city (text) , latitude (text) , longitude (text) , review_count (text) , is_open (number) , rating (number) , state (number) | category : id (text) , business_id (number) , category_name (text) | user : uid (text) , user_id (number) , name (text) | checkin : cid (text) , business_id (number) , count (text) , day (text) | neighbourhood : id (text) , business_id (number) , neighbourhood_name (text) | review : rid (text) , business_id (number) , user_id (text) , rating (text) , text (text) , year (text) , month (text) | tip : tip_id (text) , business_id (number) , text (text) , user_id (text) , likes (text) , year (text) , month (text); | [Primary Keys]: business : bid, category : id, user : uid, checkin : cid, neighbourhood : id, review : rid, tip : tip_id | [Foreign Keys]: category : business_id = business : business_id | checkin : business_id = business : business_id | neighbourhood : business_id = business : business_id | review : user_id = user : user_id | review : business_id = business : business_id | tip : user_id = user : user_id | tip : business_id = business : business_id |
yelp | SELECT t1.name FROM category AS t2 JOIN business AS t1 ON t2.business_id = t1.business_id JOIN category AS t3 ON t3.business_id = t1.business_id WHERE t1.city = "Dallas" AND t1.state = "Texas" AND t2.category_name = "Valet Service" AND t3.category_name = "restaurant"; | Find all restaurant with Valet Service in Dallas Texas | [Schema (values) (types)]: | yelp | business : bid (text) , business_id (number) , name (text) , full_address (text) , city (text) , latitude (text) , longitude (text) , review_count (text) , is_open (number) , rating (number) , state (number) | category : id (text) , business_id (number) , category_name (text) | user : uid (text) , user_id (number) , name (text) | checkin : cid (text) , business_id (number) , count (text) , day (text) | neighbourhood : id (text) , business_id (number) , neighbourhood_name (text) | review : rid (text) , business_id (number) , user_id (text) , rating (text) , text (text) , year (text) , month (text) | tip : tip_id (text) , business_id (number) , text (text) , user_id (text) , likes (text) , year (text) , month (text); | [Primary Keys]: business : bid, category : id, user : uid, checkin : cid, neighbourhood : id, review : rid, tip : tip_id | [Foreign Keys]: category : business_id = business : business_id | checkin : business_id = business : business_id | neighbourhood : business_id = business : business_id | review : user_id = user : user_id | review : business_id = business : business_id | tip : user_id = user : user_id | tip : business_id = business : business_id |
yelp | SELECT t1.name FROM category AS t3 JOIN business AS t1 ON t3.business_id = t1.business_id JOIN category AS t4 ON t4.business_id = t1.business_id JOIN neighbourhood AS t2 ON t2.business_id = t1.business_id WHERE t1.city = "Madison" AND t3.category_name = "Italian" AND t4.category_name = "restaurant" AND t2.neighbourhood_name = "Meadowood"; | Find all Italian restaurant in the Meadowood neighbourhood of Madison | [Schema (values) (types)]: | yelp | business : bid (text) , business_id (number) , name (text) , full_address (text) , city (text) , latitude (text) , longitude (text) , review_count (text) , is_open (number) , rating (number) , state (number) | category : id (text) , business_id (number) , category_name (text) | user : uid (text) , user_id (number) , name (text) | checkin : cid (text) , business_id (number) , count (text) , day (text) | neighbourhood : id (text) , business_id (number) , neighbourhood_name (text) | review : rid (text) , business_id (number) , user_id (text) , rating (text) , text (text) , year (text) , month (text) | tip : tip_id (text) , business_id (number) , text (text) , user_id (text) , likes (text) , year (text) , month (text); | [Primary Keys]: business : bid, category : id, user : uid, checkin : cid, neighbourhood : id, review : rid, tip : tip_id | [Foreign Keys]: category : business_id = business : business_id | checkin : business_id = business : business_id | neighbourhood : business_id = business : business_id | review : user_id = user : user_id | review : business_id = business : business_id | tip : user_id = user : user_id | tip : business_id = business : business_id |
yelp | SELECT t1.name FROM category AS t2 JOIN business AS t1 ON t2.business_id = t1.business_id WHERE t1.city = "Los Angeles" AND t1.rating > 3 AND t1.review_count > 30 AND t2.category_name = "Bars"; | Find all Bars in " Los Angeles " with at least 30 reviews and average rating above 3 stars | [Schema (values) (types)]: | yelp | business : bid (text) , business_id (number) , name (text) , full_address (text) , city (text) , latitude (text) , longitude (text) , review_count (text) , is_open (number) , rating (number) , state (number) | category : id (text) , business_id (number) , category_name (text) | user : uid (text) , user_id (number) , name (text) | checkin : cid (text) , business_id (number) , count (text) , day (text) | neighbourhood : id (text) , business_id (number) , neighbourhood_name (text) | review : rid (text) , business_id (number) , user_id (text) , rating (text) , text (text) , year (text) , month (text) | tip : tip_id (text) , business_id (number) , text (text) , user_id (text) , likes (text) , year (text) , month (text); | [Primary Keys]: business : bid, category : id, user : uid, checkin : cid, neighbourhood : id, review : rid, tip : tip_id | [Foreign Keys]: category : business_id = business : business_id | checkin : business_id = business : business_id | neighbourhood : business_id = business : business_id | review : user_id = user : user_id | review : business_id = business : business_id | tip : user_id = user : user_id | tip : business_id = business : business_id |
yelp | SELECT COUNT ( DISTINCT t1.name ) FROM category AS t2 JOIN business AS t1 ON t2.business_id = t1.business_id JOIN category AS t3 ON t3.business_id = t1.business_id WHERE t1.city = "Edinburgh" AND t2.category_name = "restaurant" AND t3.category_name = "Egyptian"; | How many Egyptian restaurant are there in Edinburgh ? | [Schema (values) (types)]: | yelp | business : bid (text) , business_id (number) , name (text) , full_address (text) , city (text) , latitude (text) , longitude (text) , review_count (text) , is_open (number) , rating (number) , state (number) | category : id (text) , business_id (number) , category_name (text) | user : uid (text) , user_id (number) , name (text) | checkin : cid (text) , business_id (number) , count (text) , day (text) | neighbourhood : id (text) , business_id (number) , neighbourhood_name (text) | review : rid (text) , business_id (number) , user_id (text) , rating (text) , text (text) , year (text) , month (text) | tip : tip_id (text) , business_id (number) , text (text) , user_id (text) , likes (text) , year (text) , month (text); | [Primary Keys]: business : bid, category : id, user : uid, checkin : cid, neighbourhood : id, review : rid, tip : tip_id | [Foreign Keys]: category : business_id = business : business_id | checkin : business_id = business : business_id | neighbourhood : business_id = business : business_id | review : user_id = user : user_id | review : business_id = business : business_id | tip : user_id = user : user_id | tip : business_id = business : business_id |
yelp | SELECT t2.name FROM USER AS t2 JOIN review AS t1 ON t2.user_id = t1.user_id GROUP BY t2.name HAVING AVG ( t1.rating ) < 3; | Find users whose average review rating is below 3 | [Schema (values) (types)]: | yelp | business : bid (text) , business_id (number) , name (text) , full_address (text) , city (text) , latitude (text) , longitude (text) , review_count (text) , is_open (number) , rating (number) , state (number) | category : id (text) , business_id (number) , category_name (text) | user : uid (text) , user_id (number) , name (text) | checkin : cid (text) , business_id (number) , count (text) , day (text) | neighbourhood : id (text) , business_id (number) , neighbourhood_name (text) | review : rid (text) , business_id (number) , user_id (text) , rating (text) , text (text) , year (text) , month (text) | tip : tip_id (text) , business_id (number) , text (text) , user_id (text) , likes (text) , year (text) , month (text); | [Primary Keys]: business : bid, category : id, user : uid, checkin : cid, neighbourhood : id, review : rid, tip : tip_id | [Foreign Keys]: category : business_id = business : business_id | checkin : business_id = business : business_id | neighbourhood : business_id = business : business_id | review : user_id = user : user_id | review : business_id = business : business_id | tip : user_id = user : user_id | tip : business_id = business : business_id |
yelp | SELECT t1.name FROM review AS t2 JOIN business AS t1 ON t2.business_id = t1.business_id WHERE t2.month = "April" GROUP BY t1.name ORDER BY COUNT ( DISTINCT t2.text ) DESC LIMIT 1; | Find the business with the most number of reviews in April | [Schema (values) (types)]: | yelp | business : bid (text) , business_id (number) , name (text) , full_address (text) , city (text) , latitude (text) , longitude (text) , review_count (text) , is_open (number) , rating (number) , state (number) | category : id (text) , business_id (number) , category_name (text) | user : uid (text) , user_id (number) , name (text) | checkin : cid (text) , business_id (number) , count (text) , day (text) | neighbourhood : id (text) , business_id (number) , neighbourhood_name (text) | review : rid (text) , business_id (number) , user_id (text) , rating (text) , text (text) , year (text) , month (text) | tip : tip_id (text) , business_id (number) , text (text) , user_id (text) , likes (text) , year (text) , month (text); | [Primary Keys]: business : bid, category : id, user : uid, checkin : cid, neighbourhood : id, review : rid, tip : tip_id | [Foreign Keys]: category : business_id = business : business_id | checkin : business_id = business : business_id | neighbourhood : business_id = business : business_id | review : user_id = user : user_id | review : business_id = business : business_id | tip : user_id = user : user_id | tip : business_id = business : business_id |
yelp | SELECT t1.name FROM category AS t2 JOIN business AS t1 ON t2.business_id = t1.business_id GROUP BY t1.name ORDER BY COUNT ( DISTINCT t2.category_name ) DESC LIMIT 1; | Find the business which has the most number of categories | [Schema (values) (types)]: | yelp | business : bid (text) , business_id (number) , name (text) , full_address (text) , city (text) , latitude (text) , longitude (text) , review_count (text) , is_open (number) , rating (number) , state (number) | category : id (text) , business_id (number) , category_name (text) | user : uid (text) , user_id (number) , name (text) | checkin : cid (text) , business_id (number) , count (text) , day (text) | neighbourhood : id (text) , business_id (number) , neighbourhood_name (text) | review : rid (text) , business_id (number) , user_id (text) , rating (text) , text (text) , year (text) , month (text) | tip : tip_id (text) , business_id (number) , text (text) , user_id (text) , likes (text) , year (text) , month (text); | [Primary Keys]: business : bid, category : id, user : uid, checkin : cid, neighbourhood : id, review : rid, tip : tip_id | [Foreign Keys]: category : business_id = business : business_id | checkin : business_id = business : business_id | neighbourhood : business_id = business : business_id | review : user_id = user : user_id | review : business_id = business : business_id | tip : user_id = user : user_id | tip : business_id = business : business_id |
academic | SELECT homepage FROM journal WHERE name = "PVLDB"; | return me the homepage of PVLDB . | [Schema (values) (types)]: | academic | author : aid (text) , homepage (number) , name (text) , oid (text) | conference : cid (text) , homepage (number) , name (text) | domain : did (text) , name (number) | domain_author : aid (text) , did (number) | domain_conference : cid (text) , did (number) | journal : homepage (text) , jid (number) , name (text) | domain_journal : did (text) , jid (number) | keyword : keyword (text) , kid (number) | domain_keyword : did (text) , kid (number) | publication : abstract (text) , cid (number) , citation_num (text) , jid (text) , pid (number) , reference_num (number) , title (text) , year (text) | domain_publication : did (text) , pid (number) | organization : continent (text) , homepage (number) , name (text) , oid (text) | publication_keyword : pid (text) , kid (number) | writes : aid (text) , pid (number) | cite : cited (text) , citing (number); | [Primary Keys]: author : aid, conference : cid, domain : did, domain_author : did, domain_conference : did, journal : jid, domain_journal : did, keyword : kid, domain_keyword : did, publication : pid, domain_publication : did, organization : oid, publication_keyword : kid, writes : aid | [Foreign Keys]: domain_author : did = domain : did | domain_author : aid = author : aid | domain_conference : did = domain : did | domain_conference : cid = conference : cid | domain_journal : did = domain : did | domain_journal : jid = journal : jid | domain_keyword : did = domain : did | domain_keyword : kid = keyword : kid | publication : cid = conference : cid | publication : jid = journal : jid | domain_publication : did = domain : did | domain_publication : pid = publication : pid | publication_keyword : kid = keyword : kid | publication_keyword : pid = publication : pid | writes : aid = author : aid | writes : pid = publication : pid | cite : citing = publication : pid | cite : cited = publication : pid |
academic | SELECT homepage FROM author WHERE name = "H. V. Jagadish"; | return me the homepage of " H. V. Jagadish " . | [Schema (values) (types)]: | academic | author : aid (text) , homepage (number) , name (text) , oid (text) | conference : cid (text) , homepage (number) , name (text) | domain : did (text) , name (number) | domain_author : aid (text) , did (number) | domain_conference : cid (text) , did (number) | journal : homepage (text) , jid (number) , name (text) | domain_journal : did (text) , jid (number) | keyword : keyword (text) , kid (number) | domain_keyword : did (text) , kid (number) | publication : abstract (text) , cid (number) , citation_num (text) , jid (text) , pid (number) , reference_num (number) , title (text) , year (text) | domain_publication : did (text) , pid (number) | organization : continent (text) , homepage (number) , name (text) , oid (text) | publication_keyword : pid (text) , kid (number) | writes : aid (text) , pid (number) | cite : cited (text) , citing (number); | [Primary Keys]: author : aid, conference : cid, domain : did, domain_author : did, domain_conference : did, journal : jid, domain_journal : did, keyword : kid, domain_keyword : did, publication : pid, domain_publication : did, organization : oid, publication_keyword : kid, writes : aid | [Foreign Keys]: domain_author : did = domain : did | domain_author : aid = author : aid | domain_conference : did = domain : did | domain_conference : cid = conference : cid | domain_journal : did = domain : did | domain_journal : jid = journal : jid | domain_keyword : did = domain : did | domain_keyword : kid = keyword : kid | publication : cid = conference : cid | publication : jid = journal : jid | domain_publication : did = domain : did | domain_publication : pid = publication : pid | publication_keyword : kid = keyword : kid | publication_keyword : pid = publication : pid | writes : aid = author : aid | writes : pid = publication : pid | cite : citing = publication : pid | cite : cited = publication : pid |
academic | SELECT abstract FROM publication WHERE title = "Making database systems usable"; | return me the abstract of " Making database systems usable " . | [Schema (values) (types)]: | academic | author : aid (text) , homepage (number) , name (text) , oid (text) | conference : cid (text) , homepage (number) , name (text) | domain : did (text) , name (number) | domain_author : aid (text) , did (number) | domain_conference : cid (text) , did (number) | journal : homepage (text) , jid (number) , name (text) | domain_journal : did (text) , jid (number) | keyword : keyword (text) , kid (number) | domain_keyword : did (text) , kid (number) | publication : abstract (text) , cid (number) , citation_num (text) , jid (text) , pid (number) , reference_num (number) , title (text) , year (text) | domain_publication : did (text) , pid (number) | organization : continent (text) , homepage (number) , name (text) , oid (text) | publication_keyword : pid (text) , kid (number) | writes : aid (text) , pid (number) | cite : cited (text) , citing (number); | [Primary Keys]: author : aid, conference : cid, domain : did, domain_author : did, domain_conference : did, journal : jid, domain_journal : did, keyword : kid, domain_keyword : did, publication : pid, domain_publication : did, organization : oid, publication_keyword : kid, writes : aid | [Foreign Keys]: domain_author : did = domain : did | domain_author : aid = author : aid | domain_conference : did = domain : did | domain_conference : cid = conference : cid | domain_journal : did = domain : did | domain_journal : jid = journal : jid | domain_keyword : did = domain : did | domain_keyword : kid = keyword : kid | publication : cid = conference : cid | publication : jid = journal : jid | domain_publication : did = domain : did | domain_publication : pid = publication : pid | publication_keyword : kid = keyword : kid | publication_keyword : pid = publication : pid | writes : aid = author : aid | writes : pid = publication : pid | cite : citing = publication : pid | cite : cited = publication : pid |
academic | SELECT YEAR FROM publication WHERE title = "Making database systems usable"; | return me the year of " Making database systems usable " | [Schema (values) (types)]: | academic | author : aid (text) , homepage (number) , name (text) , oid (text) | conference : cid (text) , homepage (number) , name (text) | domain : did (text) , name (number) | domain_author : aid (text) , did (number) | domain_conference : cid (text) , did (number) | journal : homepage (text) , jid (number) , name (text) | domain_journal : did (text) , jid (number) | keyword : keyword (text) , kid (number) | domain_keyword : did (text) , kid (number) | publication : abstract (text) , cid (number) , citation_num (text) , jid (text) , pid (number) , reference_num (number) , title (text) , year (text) | domain_publication : did (text) , pid (number) | organization : continent (text) , homepage (number) , name (text) , oid (text) | publication_keyword : pid (text) , kid (number) | writes : aid (text) , pid (number) | cite : cited (text) , citing (number); | [Primary Keys]: author : aid, conference : cid, domain : did, domain_author : did, domain_conference : did, journal : jid, domain_journal : did, keyword : kid, domain_keyword : did, publication : pid, domain_publication : did, organization : oid, publication_keyword : kid, writes : aid | [Foreign Keys]: domain_author : did = domain : did | domain_author : aid = author : aid | domain_conference : did = domain : did | domain_conference : cid = conference : cid | domain_journal : did = domain : did | domain_journal : jid = journal : jid | domain_keyword : did = domain : did | domain_keyword : kid = keyword : kid | publication : cid = conference : cid | publication : jid = journal : jid | domain_publication : did = domain : did | domain_publication : pid = publication : pid | publication_keyword : kid = keyword : kid | publication_keyword : pid = publication : pid | writes : aid = author : aid | writes : pid = publication : pid | cite : citing = publication : pid | cite : cited = publication : pid |
academic | SELECT YEAR FROM publication WHERE title = "Making database systems usable"; | return me the year of " Making database systems usable " . | [Schema (values) (types)]: | academic | author : aid (text) , homepage (number) , name (text) , oid (text) | conference : cid (text) , homepage (number) , name (text) | domain : did (text) , name (number) | domain_author : aid (text) , did (number) | domain_conference : cid (text) , did (number) | journal : homepage (text) , jid (number) , name (text) | domain_journal : did (text) , jid (number) | keyword : keyword (text) , kid (number) | domain_keyword : did (text) , kid (number) | publication : abstract (text) , cid (number) , citation_num (text) , jid (text) , pid (number) , reference_num (number) , title (text) , year (text) | domain_publication : did (text) , pid (number) | organization : continent (text) , homepage (number) , name (text) , oid (text) | publication_keyword : pid (text) , kid (number) | writes : aid (text) , pid (number) | cite : cited (text) , citing (number); | [Primary Keys]: author : aid, conference : cid, domain : did, domain_author : did, domain_conference : did, journal : jid, domain_journal : did, keyword : kid, domain_keyword : did, publication : pid, domain_publication : did, organization : oid, publication_keyword : kid, writes : aid | [Foreign Keys]: domain_author : did = domain : did | domain_author : aid = author : aid | domain_conference : did = domain : did | domain_conference : cid = conference : cid | domain_journal : did = domain : did | domain_journal : jid = journal : jid | domain_keyword : did = domain : did | domain_keyword : kid = keyword : kid | publication : cid = conference : cid | publication : jid = journal : jid | domain_publication : did = domain : did | domain_publication : pid = publication : pid | publication_keyword : kid = keyword : kid | publication_keyword : pid = publication : pid | writes : aid = author : aid | writes : pid = publication : pid | cite : citing = publication : pid | cite : cited = publication : pid |
academic | SELECT title FROM publication WHERE YEAR > 2000; | return me the papers after 2000 . | [Schema (values) (types)]: | academic | author : aid (text) , homepage (number) , name (text) , oid (text) | conference : cid (text) , homepage (number) , name (text) | domain : did (text) , name (number) | domain_author : aid (text) , did (number) | domain_conference : cid (text) , did (number) | journal : homepage (text) , jid (number) , name (text) | domain_journal : did (text) , jid (number) | keyword : keyword (text) , kid (number) | domain_keyword : did (text) , kid (number) | publication : abstract (text) , cid (number) , citation_num (text) , jid (text) , pid (number) , reference_num (number) , title (text) , year (text) | domain_publication : did (text) , pid (number) | organization : continent (text) , homepage (number) , name (text) , oid (text) | publication_keyword : pid (text) , kid (number) | writes : aid (text) , pid (number) | cite : cited (text) , citing (number); | [Primary Keys]: author : aid, conference : cid, domain : did, domain_author : did, domain_conference : did, journal : jid, domain_journal : did, keyword : kid, domain_keyword : did, publication : pid, domain_publication : did, organization : oid, publication_keyword : kid, writes : aid | [Foreign Keys]: domain_author : did = domain : did | domain_author : aid = author : aid | domain_conference : did = domain : did | domain_conference : cid = conference : cid | domain_journal : did = domain : did | domain_journal : jid = journal : jid | domain_keyword : did = domain : did | domain_keyword : kid = keyword : kid | publication : cid = conference : cid | publication : jid = journal : jid | domain_publication : did = domain : did | domain_publication : pid = publication : pid | publication_keyword : kid = keyword : kid | publication_keyword : pid = publication : pid | writes : aid = author : aid | writes : pid = publication : pid | cite : citing = publication : pid | cite : cited = publication : pid |
academic | SELECT homepage FROM conference WHERE name = "VLDB"; | return me the homepage of the VLDB conference . | [Schema (values) (types)]: | academic | author : aid (text) , homepage (number) , name (text) , oid (text) | conference : cid (text) , homepage (number) , name (text) | domain : did (text) , name (number) | domain_author : aid (text) , did (number) | domain_conference : cid (text) , did (number) | journal : homepage (text) , jid (number) , name (text) | domain_journal : did (text) , jid (number) | keyword : keyword (text) , kid (number) | domain_keyword : did (text) , kid (number) | publication : abstract (text) , cid (number) , citation_num (text) , jid (text) , pid (number) , reference_num (number) , title (text) , year (text) | domain_publication : did (text) , pid (number) | organization : continent (text) , homepage (number) , name (text) , oid (text) | publication_keyword : pid (text) , kid (number) | writes : aid (text) , pid (number) | cite : cited (text) , citing (number); | [Primary Keys]: author : aid, conference : cid, domain : did, domain_author : did, domain_conference : did, journal : jid, domain_journal : did, keyword : kid, domain_keyword : did, publication : pid, domain_publication : did, organization : oid, publication_keyword : kid, writes : aid | [Foreign Keys]: domain_author : did = domain : did | domain_author : aid = author : aid | domain_conference : did = domain : did | domain_conference : cid = conference : cid | domain_journal : did = domain : did | domain_journal : jid = journal : jid | domain_keyword : did = domain : did | domain_keyword : kid = keyword : kid | publication : cid = conference : cid | publication : jid = journal : jid | domain_publication : did = domain : did | domain_publication : pid = publication : pid | publication_keyword : kid = keyword : kid | publication_keyword : pid = publication : pid | writes : aid = author : aid | writes : pid = publication : pid | cite : citing = publication : pid | cite : cited = publication : pid |
academic | SELECT keyword FROM keyword; | return me all the keywords . | [Schema (values) (types)]: | academic | author : aid (text) , homepage (number) , name (text) , oid (text) | conference : cid (text) , homepage (number) , name (text) | domain : did (text) , name (number) | domain_author : aid (text) , did (number) | domain_conference : cid (text) , did (number) | journal : homepage (text) , jid (number) , name (text) | domain_journal : did (text) , jid (number) | keyword : keyword (text) , kid (number) | domain_keyword : did (text) , kid (number) | publication : abstract (text) , cid (number) , citation_num (text) , jid (text) , pid (number) , reference_num (number) , title (text) , year (text) | domain_publication : did (text) , pid (number) | organization : continent (text) , homepage (number) , name (text) , oid (text) | publication_keyword : pid (text) , kid (number) | writes : aid (text) , pid (number) | cite : cited (text) , citing (number); | [Primary Keys]: author : aid, conference : cid, domain : did, domain_author : did, domain_conference : did, journal : jid, domain_journal : did, keyword : kid, domain_keyword : did, publication : pid, domain_publication : did, organization : oid, publication_keyword : kid, writes : aid | [Foreign Keys]: domain_author : did = domain : did | domain_author : aid = author : aid | domain_conference : did = domain : did | domain_conference : cid = conference : cid | domain_journal : did = domain : did | domain_journal : jid = journal : jid | domain_keyword : did = domain : did | domain_keyword : kid = keyword : kid | publication : cid = conference : cid | publication : jid = journal : jid | domain_publication : did = domain : did | domain_publication : pid = publication : pid | publication_keyword : kid = keyword : kid | publication_keyword : pid = publication : pid | writes : aid = author : aid | writes : pid = publication : pid | cite : citing = publication : pid | cite : cited = publication : pid |
academic | SELECT name FROM organization; | return me all the organizations . | [Schema (values) (types)]: | academic | author : aid (text) , homepage (number) , name (text) , oid (text) | conference : cid (text) , homepage (number) , name (text) | domain : did (text) , name (number) | domain_author : aid (text) , did (number) | domain_conference : cid (text) , did (number) | journal : homepage (text) , jid (number) , name (text) | domain_journal : did (text) , jid (number) | keyword : keyword (text) , kid (number) | domain_keyword : did (text) , kid (number) | publication : abstract (text) , cid (number) , citation_num (text) , jid (text) , pid (number) , reference_num (number) , title (text) , year (text) | domain_publication : did (text) , pid (number) | organization : continent (text) , homepage (number) , name (text) , oid (text) | publication_keyword : pid (text) , kid (number) | writes : aid (text) , pid (number) | cite : cited (text) , citing (number); | [Primary Keys]: author : aid, conference : cid, domain : did, domain_author : did, domain_conference : did, journal : jid, domain_journal : did, keyword : kid, domain_keyword : did, publication : pid, domain_publication : did, organization : oid, publication_keyword : kid, writes : aid | [Foreign Keys]: domain_author : did = domain : did | domain_author : aid = author : aid | domain_conference : did = domain : did | domain_conference : cid = conference : cid | domain_journal : did = domain : did | domain_journal : jid = journal : jid | domain_keyword : did = domain : did | domain_keyword : kid = keyword : kid | publication : cid = conference : cid | publication : jid = journal : jid | domain_publication : did = domain : did | domain_publication : pid = publication : pid | publication_keyword : kid = keyword : kid | publication_keyword : pid = publication : pid | writes : aid = author : aid | writes : pid = publication : pid | cite : citing = publication : pid | cite : cited = publication : pid |
academic | SELECT name FROM organization WHERE continent = "North America"; | return me all the organizations in " North America " . | [Schema (values) (types)]: | academic | author : aid (text) , homepage (number) , name (text) , oid (text) | conference : cid (text) , homepage (number) , name (text) | domain : did (text) , name (number) | domain_author : aid (text) , did (number) | domain_conference : cid (text) , did (number) | journal : homepage (text) , jid (number) , name (text) | domain_journal : did (text) , jid (number) | keyword : keyword (text) , kid (number) | domain_keyword : did (text) , kid (number) | publication : abstract (text) , cid (number) , citation_num (text) , jid (text) , pid (number) , reference_num (number) , title (text) , year (text) | domain_publication : did (text) , pid (number) | organization : continent (text) , homepage (number) , name (text) , oid (text) | publication_keyword : pid (text) , kid (number) | writes : aid (text) , pid (number) | cite : cited (text) , citing (number); | [Primary Keys]: author : aid, conference : cid, domain : did, domain_author : did, domain_conference : did, journal : jid, domain_journal : did, keyword : kid, domain_keyword : did, publication : pid, domain_publication : did, organization : oid, publication_keyword : kid, writes : aid | [Foreign Keys]: domain_author : did = domain : did | domain_author : aid = author : aid | domain_conference : did = domain : did | domain_conference : cid = conference : cid | domain_journal : did = domain : did | domain_journal : jid = journal : jid | domain_keyword : did = domain : did | domain_keyword : kid = keyword : kid | publication : cid = conference : cid | publication : jid = journal : jid | domain_publication : did = domain : did | domain_publication : pid = publication : pid | publication_keyword : kid = keyword : kid | publication_keyword : pid = publication : pid | writes : aid = author : aid | writes : pid = publication : pid | cite : citing = publication : pid | cite : cited = publication : pid |
academic | SELECT homepage FROM organization WHERE name = "University of Michigan"; | return me the homepage of " University of Michigan " . | [Schema (values) (types)]: | academic | author : aid (text) , homepage (number) , name (text) , oid (text) | conference : cid (text) , homepage (number) , name (text) | domain : did (text) , name (number) | domain_author : aid (text) , did (number) | domain_conference : cid (text) , did (number) | journal : homepage (text) , jid (number) , name (text) | domain_journal : did (text) , jid (number) | keyword : keyword (text) , kid (number) | domain_keyword : did (text) , kid (number) | publication : abstract (text) , cid (number) , citation_num (text) , jid (text) , pid (number) , reference_num (number) , title (text) , year (text) | domain_publication : did (text) , pid (number) | organization : continent (text) , homepage (number) , name (text) , oid (text) | publication_keyword : pid (text) , kid (number) | writes : aid (text) , pid (number) | cite : cited (text) , citing (number); | [Primary Keys]: author : aid, conference : cid, domain : did, domain_author : did, domain_conference : did, journal : jid, domain_journal : did, keyword : kid, domain_keyword : did, publication : pid, domain_publication : did, organization : oid, publication_keyword : kid, writes : aid | [Foreign Keys]: domain_author : did = domain : did | domain_author : aid = author : aid | domain_conference : did = domain : did | domain_conference : cid = conference : cid | domain_journal : did = domain : did | domain_journal : jid = journal : jid | domain_keyword : did = domain : did | domain_keyword : kid = keyword : kid | publication : cid = conference : cid | publication : jid = journal : jid | domain_publication : did = domain : did | domain_publication : pid = publication : pid | publication_keyword : kid = keyword : kid | publication_keyword : pid = publication : pid | writes : aid = author : aid | writes : pid = publication : pid | cite : citing = publication : pid | cite : cited = publication : pid |
academic | SELECT reference_num FROM publication WHERE title = "Making database systems usable"; | return me the number of references of " Making database systems usable " . | [Schema (values) (types)]: | academic | author : aid (text) , homepage (number) , name (text) , oid (text) | conference : cid (text) , homepage (number) , name (text) | domain : did (text) , name (number) | domain_author : aid (text) , did (number) | domain_conference : cid (text) , did (number) | journal : homepage (text) , jid (number) , name (text) | domain_journal : did (text) , jid (number) | keyword : keyword (text) , kid (number) | domain_keyword : did (text) , kid (number) | publication : abstract (text) , cid (number) , citation_num (text) , jid (text) , pid (number) , reference_num (number) , title (text) , year (text) | domain_publication : did (text) , pid (number) | organization : continent (text) , homepage (number) , name (text) , oid (text) | publication_keyword : pid (text) , kid (number) | writes : aid (text) , pid (number) | cite : cited (text) , citing (number); | [Primary Keys]: author : aid, conference : cid, domain : did, domain_author : did, domain_conference : did, journal : jid, domain_journal : did, keyword : kid, domain_keyword : did, publication : pid, domain_publication : did, organization : oid, publication_keyword : kid, writes : aid | [Foreign Keys]: domain_author : did = domain : did | domain_author : aid = author : aid | domain_conference : did = domain : did | domain_conference : cid = conference : cid | domain_journal : did = domain : did | domain_journal : jid = journal : jid | domain_keyword : did = domain : did | domain_keyword : kid = keyword : kid | publication : cid = conference : cid | publication : jid = journal : jid | domain_publication : did = domain : did | domain_publication : pid = publication : pid | publication_keyword : kid = keyword : kid | publication_keyword : pid = publication : pid | writes : aid = author : aid | writes : pid = publication : pid | cite : citing = publication : pid | cite : cited = publication : pid |
academic | SELECT reference_num FROM publication WHERE title = "Making database systems usable"; | return me the references of " Making database systems usable " . | [Schema (values) (types)]: | academic | author : aid (text) , homepage (number) , name (text) , oid (text) | conference : cid (text) , homepage (number) , name (text) | domain : did (text) , name (number) | domain_author : aid (text) , did (number) | domain_conference : cid (text) , did (number) | journal : homepage (text) , jid (number) , name (text) | domain_journal : did (text) , jid (number) | keyword : keyword (text) , kid (number) | domain_keyword : did (text) , kid (number) | publication : abstract (text) , cid (number) , citation_num (text) , jid (text) , pid (number) , reference_num (number) , title (text) , year (text) | domain_publication : did (text) , pid (number) | organization : continent (text) , homepage (number) , name (text) , oid (text) | publication_keyword : pid (text) , kid (number) | writes : aid (text) , pid (number) | cite : cited (text) , citing (number); | [Primary Keys]: author : aid, conference : cid, domain : did, domain_author : did, domain_conference : did, journal : jid, domain_journal : did, keyword : kid, domain_keyword : did, publication : pid, domain_publication : did, organization : oid, publication_keyword : kid, writes : aid | [Foreign Keys]: domain_author : did = domain : did | domain_author : aid = author : aid | domain_conference : did = domain : did | domain_conference : cid = conference : cid | domain_journal : did = domain : did | domain_journal : jid = journal : jid | domain_keyword : did = domain : did | domain_keyword : kid = keyword : kid | publication : cid = conference : cid | publication : jid = journal : jid | domain_publication : did = domain : did | domain_publication : pid = publication : pid | publication_keyword : kid = keyword : kid | publication_keyword : pid = publication : pid | writes : aid = author : aid | writes : pid = publication : pid | cite : citing = publication : pid | cite : cited = publication : pid |
academic | SELECT citation_num FROM publication WHERE title = "Making database systems usable"; | return me the number of citations of " Making database systems usable " . | [Schema (values) (types)]: | academic | author : aid (text) , homepage (number) , name (text) , oid (text) | conference : cid (text) , homepage (number) , name (text) | domain : did (text) , name (number) | domain_author : aid (text) , did (number) | domain_conference : cid (text) , did (number) | journal : homepage (text) , jid (number) , name (text) | domain_journal : did (text) , jid (number) | keyword : keyword (text) , kid (number) | domain_keyword : did (text) , kid (number) | publication : abstract (text) , cid (number) , citation_num (text) , jid (text) , pid (number) , reference_num (number) , title (text) , year (text) | domain_publication : did (text) , pid (number) | organization : continent (text) , homepage (number) , name (text) , oid (text) | publication_keyword : pid (text) , kid (number) | writes : aid (text) , pid (number) | cite : cited (text) , citing (number); | [Primary Keys]: author : aid, conference : cid, domain : did, domain_author : did, domain_conference : did, journal : jid, domain_journal : did, keyword : kid, domain_keyword : did, publication : pid, domain_publication : did, organization : oid, publication_keyword : kid, writes : aid | [Foreign Keys]: domain_author : did = domain : did | domain_author : aid = author : aid | domain_conference : did = domain : did | domain_conference : cid = conference : cid | domain_journal : did = domain : did | domain_journal : jid = journal : jid | domain_keyword : did = domain : did | domain_keyword : kid = keyword : kid | publication : cid = conference : cid | publication : jid = journal : jid | domain_publication : did = domain : did | domain_publication : pid = publication : pid | publication_keyword : kid = keyword : kid | publication_keyword : pid = publication : pid | writes : aid = author : aid | writes : pid = publication : pid | cite : citing = publication : pid | cite : cited = publication : pid |
academic | SELECT citation_num FROM publication WHERE title = "Making database systems usable"; | return me the citations of " Making database systems usable " . | [Schema (values) (types)]: | academic | author : aid (text) , homepage (number) , name (text) , oid (text) | conference : cid (text) , homepage (number) , name (text) | domain : did (text) , name (number) | domain_author : aid (text) , did (number) | domain_conference : cid (text) , did (number) | journal : homepage (text) , jid (number) , name (text) | domain_journal : did (text) , jid (number) | keyword : keyword (text) , kid (number) | domain_keyword : did (text) , kid (number) | publication : abstract (text) , cid (number) , citation_num (text) , jid (text) , pid (number) , reference_num (number) , title (text) , year (text) | domain_publication : did (text) , pid (number) | organization : continent (text) , homepage (number) , name (text) , oid (text) | publication_keyword : pid (text) , kid (number) | writes : aid (text) , pid (number) | cite : cited (text) , citing (number); | [Primary Keys]: author : aid, conference : cid, domain : did, domain_author : did, domain_conference : did, journal : jid, domain_journal : did, keyword : kid, domain_keyword : did, publication : pid, domain_publication : did, organization : oid, publication_keyword : kid, writes : aid | [Foreign Keys]: domain_author : did = domain : did | domain_author : aid = author : aid | domain_conference : did = domain : did | domain_conference : cid = conference : cid | domain_journal : did = domain : did | domain_journal : jid = journal : jid | domain_keyword : did = domain : did | domain_keyword : kid = keyword : kid | publication : cid = conference : cid | publication : jid = journal : jid | domain_publication : did = domain : did | domain_publication : pid = publication : pid | publication_keyword : kid = keyword : kid | publication_keyword : pid = publication : pid | writes : aid = author : aid | writes : pid = publication : pid | cite : citing = publication : pid | cite : cited = publication : pid |
academic | SELECT title FROM publication WHERE citation_num > 200; | return me the paper with more than 200 citations . | [Schema (values) (types)]: | academic | author : aid (text) , homepage (number) , name (text) , oid (text) | conference : cid (text) , homepage (number) , name (text) | domain : did (text) , name (number) | domain_author : aid (text) , did (number) | domain_conference : cid (text) , did (number) | journal : homepage (text) , jid (number) , name (text) | domain_journal : did (text) , jid (number) | keyword : keyword (text) , kid (number) | domain_keyword : did (text) , kid (number) | publication : abstract (text) , cid (number) , citation_num (text) , jid (text) , pid (number) , reference_num (number) , title (text) , year (text) | domain_publication : did (text) , pid (number) | organization : continent (text) , homepage (number) , name (text) , oid (text) | publication_keyword : pid (text) , kid (number) | writes : aid (text) , pid (number) | cite : cited (text) , citing (number); | [Primary Keys]: author : aid, conference : cid, domain : did, domain_author : did, domain_conference : did, journal : jid, domain_journal : did, keyword : kid, domain_keyword : did, publication : pid, domain_publication : did, organization : oid, publication_keyword : kid, writes : aid | [Foreign Keys]: domain_author : did = domain : did | domain_author : aid = author : aid | domain_conference : did = domain : did | domain_conference : cid = conference : cid | domain_journal : did = domain : did | domain_journal : jid = journal : jid | domain_keyword : did = domain : did | domain_keyword : kid = keyword : kid | publication : cid = conference : cid | publication : jid = journal : jid | domain_publication : did = domain : did | domain_publication : pid = publication : pid | publication_keyword : kid = keyword : kid | publication_keyword : pid = publication : pid | writes : aid = author : aid | writes : pid = publication : pid | cite : citing = publication : pid | cite : cited = publication : pid |
academic | SELECT t1.name FROM publication AS t4 JOIN journal AS t2 ON t4.jid = t2.jid JOIN writes AS t3 ON t3.pid = t4.pid JOIN author AS t1 ON t3.aid = t1.aid WHERE t2.name = "PVLDB" AND t4.year = 2010; | return me the authors who have papers in PVLDB 2010 . | [Schema (values) (types)]: | academic | author : aid (text) , homepage (number) , name (text) , oid (text) | conference : cid (text) , homepage (number) , name (text) | domain : did (text) , name (number) | domain_author : aid (text) , did (number) | domain_conference : cid (text) , did (number) | journal : homepage (text) , jid (number) , name (text) | domain_journal : did (text) , jid (number) | keyword : keyword (text) , kid (number) | domain_keyword : did (text) , kid (number) | publication : abstract (text) , cid (number) , citation_num (text) , jid (text) , pid (number) , reference_num (number) , title (text) , year (text) | domain_publication : did (text) , pid (number) | organization : continent (text) , homepage (number) , name (text) , oid (text) | publication_keyword : pid (text) , kid (number) | writes : aid (text) , pid (number) | cite : cited (text) , citing (number); | [Primary Keys]: author : aid, conference : cid, domain : did, domain_author : did, domain_conference : did, journal : jid, domain_journal : did, keyword : kid, domain_keyword : did, publication : pid, domain_publication : did, organization : oid, publication_keyword : kid, writes : aid | [Foreign Keys]: domain_author : did = domain : did | domain_author : aid = author : aid | domain_conference : did = domain : did | domain_conference : cid = conference : cid | domain_journal : did = domain : did | domain_journal : jid = journal : jid | domain_keyword : did = domain : did | domain_keyword : kid = keyword : kid | publication : cid = conference : cid | publication : jid = journal : jid | domain_publication : did = domain : did | domain_publication : pid = publication : pid | publication_keyword : kid = keyword : kid | publication_keyword : pid = publication : pid | writes : aid = author : aid | writes : pid = publication : pid | cite : citing = publication : pid | cite : cited = publication : pid |
academic | SELECT t1.name FROM publication AS t4 JOIN journal AS t2 ON t4.jid = t2.jid JOIN writes AS t3 ON t3.pid = t4.pid JOIN author AS t1 ON t3.aid = t1.aid WHERE t2.name = "PVLDB" AND t4.year > 2010; | return me the authors who have papers in PVLDB after 2010 . | [Schema (values) (types)]: | academic | author : aid (text) , homepage (number) , name (text) , oid (text) | conference : cid (text) , homepage (number) , name (text) | domain : did (text) , name (number) | domain_author : aid (text) , did (number) | domain_conference : cid (text) , did (number) | journal : homepage (text) , jid (number) , name (text) | domain_journal : did (text) , jid (number) | keyword : keyword (text) , kid (number) | domain_keyword : did (text) , kid (number) | publication : abstract (text) , cid (number) , citation_num (text) , jid (text) , pid (number) , reference_num (number) , title (text) , year (text) | domain_publication : did (text) , pid (number) | organization : continent (text) , homepage (number) , name (text) , oid (text) | publication_keyword : pid (text) , kid (number) | writes : aid (text) , pid (number) | cite : cited (text) , citing (number); | [Primary Keys]: author : aid, conference : cid, domain : did, domain_author : did, domain_conference : did, journal : jid, domain_journal : did, keyword : kid, domain_keyword : did, publication : pid, domain_publication : did, organization : oid, publication_keyword : kid, writes : aid | [Foreign Keys]: domain_author : did = domain : did | domain_author : aid = author : aid | domain_conference : did = domain : did | domain_conference : cid = conference : cid | domain_journal : did = domain : did | domain_journal : jid = journal : jid | domain_keyword : did = domain : did | domain_keyword : kid = keyword : kid | publication : cid = conference : cid | publication : jid = journal : jid | domain_publication : did = domain : did | domain_publication : pid = publication : pid | publication_keyword : kid = keyword : kid | publication_keyword : pid = publication : pid | writes : aid = author : aid | writes : pid = publication : pid | cite : citing = publication : pid | cite : cited = publication : pid |
academic | SELECT t1.name FROM publication AS t4 JOIN conference AS t2 ON t4.cid = t2.cid JOIN writes AS t3 ON t3.pid = t4.pid JOIN author AS t1 ON t3.aid = t1.aid WHERE t2.name = "VLDB" AND t4.year = 2002; | return me the authors who have papers in VLDB conference in 2002 . | [Schema (values) (types)]: | academic | author : aid (text) , homepage (number) , name (text) , oid (text) | conference : cid (text) , homepage (number) , name (text) | domain : did (text) , name (number) | domain_author : aid (text) , did (number) | domain_conference : cid (text) , did (number) | journal : homepage (text) , jid (number) , name (text) | domain_journal : did (text) , jid (number) | keyword : keyword (text) , kid (number) | domain_keyword : did (text) , kid (number) | publication : abstract (text) , cid (number) , citation_num (text) , jid (text) , pid (number) , reference_num (number) , title (text) , year (text) | domain_publication : did (text) , pid (number) | organization : continent (text) , homepage (number) , name (text) , oid (text) | publication_keyword : pid (text) , kid (number) | writes : aid (text) , pid (number) | cite : cited (text) , citing (number); | [Primary Keys]: author : aid, conference : cid, domain : did, domain_author : did, domain_conference : did, journal : jid, domain_journal : did, keyword : kid, domain_keyword : did, publication : pid, domain_publication : did, organization : oid, publication_keyword : kid, writes : aid | [Foreign Keys]: domain_author : did = domain : did | domain_author : aid = author : aid | domain_conference : did = domain : did | domain_conference : cid = conference : cid | domain_journal : did = domain : did | domain_journal : jid = journal : jid | domain_keyword : did = domain : did | domain_keyword : kid = keyword : kid | publication : cid = conference : cid | publication : jid = journal : jid | domain_publication : did = domain : did | domain_publication : pid = publication : pid | publication_keyword : kid = keyword : kid | publication_keyword : pid = publication : pid | writes : aid = author : aid | writes : pid = publication : pid | cite : citing = publication : pid | cite : cited = publication : pid |
academic | SELECT t1.name FROM publication AS t4 JOIN conference AS t2 ON t4.cid = t2.cid JOIN writes AS t3 ON t3.pid = t4.pid JOIN author AS t1 ON t3.aid = t1.aid WHERE t2.name = "VLDB" AND t4.year < 2002; | return me the authors who have papers in VLDB conference before 2002 . | [Schema (values) (types)]: | academic | author : aid (text) , homepage (number) , name (text) , oid (text) | conference : cid (text) , homepage (number) , name (text) | domain : did (text) , name (number) | domain_author : aid (text) , did (number) | domain_conference : cid (text) , did (number) | journal : homepage (text) , jid (number) , name (text) | domain_journal : did (text) , jid (number) | keyword : keyword (text) , kid (number) | domain_keyword : did (text) , kid (number) | publication : abstract (text) , cid (number) , citation_num (text) , jid (text) , pid (number) , reference_num (number) , title (text) , year (text) | domain_publication : did (text) , pid (number) | organization : continent (text) , homepage (number) , name (text) , oid (text) | publication_keyword : pid (text) , kid (number) | writes : aid (text) , pid (number) | cite : cited (text) , citing (number); | [Primary Keys]: author : aid, conference : cid, domain : did, domain_author : did, domain_conference : did, journal : jid, domain_journal : did, keyword : kid, domain_keyword : did, publication : pid, domain_publication : did, organization : oid, publication_keyword : kid, writes : aid | [Foreign Keys]: domain_author : did = domain : did | domain_author : aid = author : aid | domain_conference : did = domain : did | domain_conference : cid = conference : cid | domain_journal : did = domain : did | domain_journal : jid = journal : jid | domain_keyword : did = domain : did | domain_keyword : kid = keyword : kid | publication : cid = conference : cid | publication : jid = journal : jid | domain_publication : did = domain : did | domain_publication : pid = publication : pid | publication_keyword : kid = keyword : kid | publication_keyword : pid = publication : pid | writes : aid = author : aid | writes : pid = publication : pid | cite : citing = publication : pid | cite : cited = publication : pid |
academic | SELECT t1.name FROM publication AS t4 JOIN conference AS t2 ON t4.cid = t2.cid JOIN writes AS t3 ON t3.pid = t4.pid JOIN author AS t1 ON t3.aid = t1.aid WHERE t2.name = "VLDB" AND t4.year < 2002 AND t4.year > 1995; | return me the authors who have papers in VLDB conference before 2002 after 1995 . | [Schema (values) (types)]: | academic | author : aid (text) , homepage (number) , name (text) , oid (text) | conference : cid (text) , homepage (number) , name (text) | domain : did (text) , name (number) | domain_author : aid (text) , did (number) | domain_conference : cid (text) , did (number) | journal : homepage (text) , jid (number) , name (text) | domain_journal : did (text) , jid (number) | keyword : keyword (text) , kid (number) | domain_keyword : did (text) , kid (number) | publication : abstract (text) , cid (number) , citation_num (text) , jid (text) , pid (number) , reference_num (number) , title (text) , year (text) | domain_publication : did (text) , pid (number) | organization : continent (text) , homepage (number) , name (text) , oid (text) | publication_keyword : pid (text) , kid (number) | writes : aid (text) , pid (number) | cite : cited (text) , citing (number); | [Primary Keys]: author : aid, conference : cid, domain : did, domain_author : did, domain_conference : did, journal : jid, domain_journal : did, keyword : kid, domain_keyword : did, publication : pid, domain_publication : did, organization : oid, publication_keyword : kid, writes : aid | [Foreign Keys]: domain_author : did = domain : did | domain_author : aid = author : aid | domain_conference : did = domain : did | domain_conference : cid = conference : cid | domain_journal : did = domain : did | domain_journal : jid = journal : jid | domain_keyword : did = domain : did | domain_keyword : kid = keyword : kid | publication : cid = conference : cid | publication : jid = journal : jid | domain_publication : did = domain : did | domain_publication : pid = publication : pid | publication_keyword : kid = keyword : kid | publication_keyword : pid = publication : pid | writes : aid = author : aid | writes : pid = publication : pid | cite : citing = publication : pid | cite : cited = publication : pid |
academic | SELECT t3.name FROM DOMAIN AS t3 JOIN domain_journal AS t1 ON t3.did = t1.did JOIN journal AS t2 ON t2.jid = t1.jid WHERE t2.name = "PVLDB"; | return me the area of PVLDB . | [Schema (values) (types)]: | academic | author : aid (text) , homepage (number) , name (text) , oid (text) | conference : cid (text) , homepage (number) , name (text) | domain : did (text) , name (number) | domain_author : aid (text) , did (number) | domain_conference : cid (text) , did (number) | journal : homepage (text) , jid (number) , name (text) | domain_journal : did (text) , jid (number) | keyword : keyword (text) , kid (number) | domain_keyword : did (text) , kid (number) | publication : abstract (text) , cid (number) , citation_num (text) , jid (text) , pid (number) , reference_num (number) , title (text) , year (text) | domain_publication : did (text) , pid (number) | organization : continent (text) , homepage (number) , name (text) , oid (text) | publication_keyword : pid (text) , kid (number) | writes : aid (text) , pid (number) | cite : cited (text) , citing (number); | [Primary Keys]: author : aid, conference : cid, domain : did, domain_author : did, domain_conference : did, journal : jid, domain_journal : did, keyword : kid, domain_keyword : did, publication : pid, domain_publication : did, organization : oid, publication_keyword : kid, writes : aid | [Foreign Keys]: domain_author : did = domain : did | domain_author : aid = author : aid | domain_conference : did = domain : did | domain_conference : cid = conference : cid | domain_journal : did = domain : did | domain_journal : jid = journal : jid | domain_keyword : did = domain : did | domain_keyword : kid = keyword : kid | publication : cid = conference : cid | publication : jid = journal : jid | domain_publication : did = domain : did | domain_publication : pid = publication : pid | publication_keyword : kid = keyword : kid | publication_keyword : pid = publication : pid | writes : aid = author : aid | writes : pid = publication : pid | cite : citing = publication : pid | cite : cited = publication : pid |
academic | SELECT t1.name FROM publication AS t4 JOIN journal AS t2 ON t4.jid = t2.jid JOIN writes AS t3 ON t3.pid = t4.pid JOIN author AS t1 ON t3.aid = t1.aid WHERE t2.name = "PVLDB"; | return me the authors who have papers in PVLDB . | [Schema (values) (types)]: | academic | author : aid (text) , homepage (number) , name (text) , oid (text) | conference : cid (text) , homepage (number) , name (text) | domain : did (text) , name (number) | domain_author : aid (text) , did (number) | domain_conference : cid (text) , did (number) | journal : homepage (text) , jid (number) , name (text) | domain_journal : did (text) , jid (number) | keyword : keyword (text) , kid (number) | domain_keyword : did (text) , kid (number) | publication : abstract (text) , cid (number) , citation_num (text) , jid (text) , pid (number) , reference_num (number) , title (text) , year (text) | domain_publication : did (text) , pid (number) | organization : continent (text) , homepage (number) , name (text) , oid (text) | publication_keyword : pid (text) , kid (number) | writes : aid (text) , pid (number) | cite : cited (text) , citing (number); | [Primary Keys]: author : aid, conference : cid, domain : did, domain_author : did, domain_conference : did, journal : jid, domain_journal : did, keyword : kid, domain_keyword : did, publication : pid, domain_publication : did, organization : oid, publication_keyword : kid, writes : aid | [Foreign Keys]: domain_author : did = domain : did | domain_author : aid = author : aid | domain_conference : did = domain : did | domain_conference : cid = conference : cid | domain_journal : did = domain : did | domain_journal : jid = journal : jid | domain_keyword : did = domain : did | domain_keyword : kid = keyword : kid | publication : cid = conference : cid | publication : jid = journal : jid | domain_publication : did = domain : did | domain_publication : pid = publication : pid | publication_keyword : kid = keyword : kid | publication_keyword : pid = publication : pid | writes : aid = author : aid | writes : pid = publication : pid | cite : citing = publication : pid | cite : cited = publication : pid |
academic | SELECT t2.name FROM organization AS t2 JOIN author AS t1 ON t2.oid = t1.oid WHERE t1.name = "H. V. Jagadish"; | return me the organization " H. V. Jagadish " is in . | [Schema (values) (types)]: | academic | author : aid (text) , homepage (number) , name (text) , oid (text) | conference : cid (text) , homepage (number) , name (text) | domain : did (text) , name (number) | domain_author : aid (text) , did (number) | domain_conference : cid (text) , did (number) | journal : homepage (text) , jid (number) , name (text) | domain_journal : did (text) , jid (number) | keyword : keyword (text) , kid (number) | domain_keyword : did (text) , kid (number) | publication : abstract (text) , cid (number) , citation_num (text) , jid (text) , pid (number) , reference_num (number) , title (text) , year (text) | domain_publication : did (text) , pid (number) | organization : continent (text) , homepage (number) , name (text) , oid (text) | publication_keyword : pid (text) , kid (number) | writes : aid (text) , pid (number) | cite : cited (text) , citing (number); | [Primary Keys]: author : aid, conference : cid, domain : did, domain_author : did, domain_conference : did, journal : jid, domain_journal : did, keyword : kid, domain_keyword : did, publication : pid, domain_publication : did, organization : oid, publication_keyword : kid, writes : aid | [Foreign Keys]: domain_author : did = domain : did | domain_author : aid = author : aid | domain_conference : did = domain : did | domain_conference : cid = conference : cid | domain_journal : did = domain : did | domain_journal : jid = journal : jid | domain_keyword : did = domain : did | domain_keyword : kid = keyword : kid | publication : cid = conference : cid | publication : jid = journal : jid | domain_publication : did = domain : did | domain_publication : pid = publication : pid | publication_keyword : kid = keyword : kid | publication_keyword : pid = publication : pid | writes : aid = author : aid | writes : pid = publication : pid | cite : citing = publication : pid | cite : cited = publication : pid |
academic | SELECT t2.name FROM publication AS t4 JOIN conference AS t2 ON t4.cid = t2.cid JOIN writes AS t3 ON t3.pid = t4.pid JOIN author AS t1 ON t3.aid = t1.aid WHERE t1.name = "H. V. Jagadish"; | return me the conferences, which have papers by " H. V. Jagadish " . | [Schema (values) (types)]: | academic | author : aid (text) , homepage (number) , name (text) , oid (text) | conference : cid (text) , homepage (number) , name (text) | domain : did (text) , name (number) | domain_author : aid (text) , did (number) | domain_conference : cid (text) , did (number) | journal : homepage (text) , jid (number) , name (text) | domain_journal : did (text) , jid (number) | keyword : keyword (text) , kid (number) | domain_keyword : did (text) , kid (number) | publication : abstract (text) , cid (number) , citation_num (text) , jid (text) , pid (number) , reference_num (number) , title (text) , year (text) | domain_publication : did (text) , pid (number) | organization : continent (text) , homepage (number) , name (text) , oid (text) | publication_keyword : pid (text) , kid (number) | writes : aid (text) , pid (number) | cite : cited (text) , citing (number); | [Primary Keys]: author : aid, conference : cid, domain : did, domain_author : did, domain_conference : did, journal : jid, domain_journal : did, keyword : kid, domain_keyword : did, publication : pid, domain_publication : did, organization : oid, publication_keyword : kid, writes : aid | [Foreign Keys]: domain_author : did = domain : did | domain_author : aid = author : aid | domain_conference : did = domain : did | domain_conference : cid = conference : cid | domain_journal : did = domain : did | domain_journal : jid = journal : jid | domain_keyword : did = domain : did | domain_keyword : kid = keyword : kid | publication : cid = conference : cid | publication : jid = journal : jid | domain_publication : did = domain : did | domain_publication : pid = publication : pid | publication_keyword : kid = keyword : kid | publication_keyword : pid = publication : pid | writes : aid = author : aid | writes : pid = publication : pid | cite : citing = publication : pid | cite : cited = publication : pid |
academic | SELECT t2.name FROM publication AS t4 JOIN journal AS t2 ON t4.jid = t2.jid JOIN writes AS t3 ON t3.pid = t4.pid JOIN author AS t1 ON t3.aid = t1.aid WHERE t1.name = "H. V. Jagadish"; | return me the journals, which have papers by " H. V. Jagadish " . | [Schema (values) (types)]: | academic | author : aid (text) , homepage (number) , name (text) , oid (text) | conference : cid (text) , homepage (number) , name (text) | domain : did (text) , name (number) | domain_author : aid (text) , did (number) | domain_conference : cid (text) , did (number) | journal : homepage (text) , jid (number) , name (text) | domain_journal : did (text) , jid (number) | keyword : keyword (text) , kid (number) | domain_keyword : did (text) , kid (number) | publication : abstract (text) , cid (number) , citation_num (text) , jid (text) , pid (number) , reference_num (number) , title (text) , year (text) | domain_publication : did (text) , pid (number) | organization : continent (text) , homepage (number) , name (text) , oid (text) | publication_keyword : pid (text) , kid (number) | writes : aid (text) , pid (number) | cite : cited (text) , citing (number); | [Primary Keys]: author : aid, conference : cid, domain : did, domain_author : did, domain_conference : did, journal : jid, domain_journal : did, keyword : kid, domain_keyword : did, publication : pid, domain_publication : did, organization : oid, publication_keyword : kid, writes : aid | [Foreign Keys]: domain_author : did = domain : did | domain_author : aid = author : aid | domain_conference : did = domain : did | domain_conference : cid = conference : cid | domain_journal : did = domain : did | domain_journal : jid = journal : jid | domain_keyword : did = domain : did | domain_keyword : kid = keyword : kid | publication : cid = conference : cid | publication : jid = journal : jid | domain_publication : did = domain : did | domain_publication : pid = publication : pid | publication_keyword : kid = keyword : kid | publication_keyword : pid = publication : pid | writes : aid = author : aid | writes : pid = publication : pid | cite : citing = publication : pid | cite : cited = publication : pid |
academic | SELECT t2.name FROM domain_author AS t3 JOIN author AS t1 ON t3.aid = t1.aid JOIN DOMAIN AS t2 ON t2.did = t3.did WHERE t1.name = "H. V. Jagadish"; | return me the domain where " H. V. Jagadish " is focused . | [Schema (values) (types)]: | academic | author : aid (text) , homepage (number) , name (text) , oid (text) | conference : cid (text) , homepage (number) , name (text) | domain : did (text) , name (number) | domain_author : aid (text) , did (number) | domain_conference : cid (text) , did (number) | journal : homepage (text) , jid (number) , name (text) | domain_journal : did (text) , jid (number) | keyword : keyword (text) , kid (number) | domain_keyword : did (text) , kid (number) | publication : abstract (text) , cid (number) , citation_num (text) , jid (text) , pid (number) , reference_num (number) , title (text) , year (text) | domain_publication : did (text) , pid (number) | organization : continent (text) , homepage (number) , name (text) , oid (text) | publication_keyword : pid (text) , kid (number) | writes : aid (text) , pid (number) | cite : cited (text) , citing (number); | [Primary Keys]: author : aid, conference : cid, domain : did, domain_author : did, domain_conference : did, journal : jid, domain_journal : did, keyword : kid, domain_keyword : did, publication : pid, domain_publication : did, organization : oid, publication_keyword : kid, writes : aid | [Foreign Keys]: domain_author : did = domain : did | domain_author : aid = author : aid | domain_conference : did = domain : did | domain_conference : cid = conference : cid | domain_journal : did = domain : did | domain_journal : jid = journal : jid | domain_keyword : did = domain : did | domain_keyword : kid = keyword : kid | publication : cid = conference : cid | publication : jid = journal : jid | domain_publication : did = domain : did | domain_publication : pid = publication : pid | publication_keyword : kid = keyword : kid | publication_keyword : pid = publication : pid | writes : aid = author : aid | writes : pid = publication : pid | cite : citing = publication : pid | cite : cited = publication : pid |
academic | SELECT t1.name FROM writes AS t2 JOIN author AS t1 ON t2.aid = t1.aid JOIN publication AS t3 ON t2.pid = t3.pid WHERE t3.title = "Making database systems usable"; | return me the authors of " Making database systems usable " . | [Schema (values) (types)]: | academic | author : aid (text) , homepage (number) , name (text) , oid (text) | conference : cid (text) , homepage (number) , name (text) | domain : did (text) , name (number) | domain_author : aid (text) , did (number) | domain_conference : cid (text) , did (number) | journal : homepage (text) , jid (number) , name (text) | domain_journal : did (text) , jid (number) | keyword : keyword (text) , kid (number) | domain_keyword : did (text) , kid (number) | publication : abstract (text) , cid (number) , citation_num (text) , jid (text) , pid (number) , reference_num (number) , title (text) , year (text) | domain_publication : did (text) , pid (number) | organization : continent (text) , homepage (number) , name (text) , oid (text) | publication_keyword : pid (text) , kid (number) | writes : aid (text) , pid (number) | cite : cited (text) , citing (number); | [Primary Keys]: author : aid, conference : cid, domain : did, domain_author : did, domain_conference : did, journal : jid, domain_journal : did, keyword : kid, domain_keyword : did, publication : pid, domain_publication : did, organization : oid, publication_keyword : kid, writes : aid | [Foreign Keys]: domain_author : did = domain : did | domain_author : aid = author : aid | domain_conference : did = domain : did | domain_conference : cid = conference : cid | domain_journal : did = domain : did | domain_journal : jid = journal : jid | domain_keyword : did = domain : did | domain_keyword : kid = keyword : kid | publication : cid = conference : cid | publication : jid = journal : jid | domain_publication : did = domain : did | domain_publication : pid = publication : pid | publication_keyword : kid = keyword : kid | publication_keyword : pid = publication : pid | writes : aid = author : aid | writes : pid = publication : pid | cite : citing = publication : pid | cite : cited = publication : pid |
academic | SELECT t1.name FROM publication AS t2 JOIN conference AS t1 ON t2.cid = t1.cid WHERE t2.title = "Making database systems usable"; | return me the conference, which published " Making database systems usable " . | [Schema (values) (types)]: | academic | author : aid (text) , homepage (number) , name (text) , oid (text) | conference : cid (text) , homepage (number) , name (text) | domain : did (text) , name (number) | domain_author : aid (text) , did (number) | domain_conference : cid (text) , did (number) | journal : homepage (text) , jid (number) , name (text) | domain_journal : did (text) , jid (number) | keyword : keyword (text) , kid (number) | domain_keyword : did (text) , kid (number) | publication : abstract (text) , cid (number) , citation_num (text) , jid (text) , pid (number) , reference_num (number) , title (text) , year (text) | domain_publication : did (text) , pid (number) | organization : continent (text) , homepage (number) , name (text) , oid (text) | publication_keyword : pid (text) , kid (number) | writes : aid (text) , pid (number) | cite : cited (text) , citing (number); | [Primary Keys]: author : aid, conference : cid, domain : did, domain_author : did, domain_conference : did, journal : jid, domain_journal : did, keyword : kid, domain_keyword : did, publication : pid, domain_publication : did, organization : oid, publication_keyword : kid, writes : aid | [Foreign Keys]: domain_author : did = domain : did | domain_author : aid = author : aid | domain_conference : did = domain : did | domain_conference : cid = conference : cid | domain_journal : did = domain : did | domain_journal : jid = journal : jid | domain_keyword : did = domain : did | domain_keyword : kid = keyword : kid | publication : cid = conference : cid | publication : jid = journal : jid | domain_publication : did = domain : did | domain_publication : pid = publication : pid | publication_keyword : kid = keyword : kid | publication_keyword : pid = publication : pid | writes : aid = author : aid | writes : pid = publication : pid | cite : citing = publication : pid | cite : cited = publication : pid |
academic | SELECT t3.title FROM writes AS t2 JOIN author AS t1 ON t2.aid = t1.aid JOIN publication AS t3 ON t2.pid = t3.pid WHERE t1.name = "H. V. Jagadish"; | return me the papers by " H. V. Jagadish " . | [Schema (values) (types)]: | academic | author : aid (text) , homepage (number) , name (text) , oid (text) | conference : cid (text) , homepage (number) , name (text) | domain : did (text) , name (number) | domain_author : aid (text) , did (number) | domain_conference : cid (text) , did (number) | journal : homepage (text) , jid (number) , name (text) | domain_journal : did (text) , jid (number) | keyword : keyword (text) , kid (number) | domain_keyword : did (text) , kid (number) | publication : abstract (text) , cid (number) , citation_num (text) , jid (text) , pid (number) , reference_num (number) , title (text) , year (text) | domain_publication : did (text) , pid (number) | organization : continent (text) , homepage (number) , name (text) , oid (text) | publication_keyword : pid (text) , kid (number) | writes : aid (text) , pid (number) | cite : cited (text) , citing (number); | [Primary Keys]: author : aid, conference : cid, domain : did, domain_author : did, domain_conference : did, journal : jid, domain_journal : did, keyword : kid, domain_keyword : did, publication : pid, domain_publication : did, organization : oid, publication_keyword : kid, writes : aid | [Foreign Keys]: domain_author : did = domain : did | domain_author : aid = author : aid | domain_conference : did = domain : did | domain_conference : cid = conference : cid | domain_journal : did = domain : did | domain_journal : jid = journal : jid | domain_keyword : did = domain : did | domain_keyword : kid = keyword : kid | publication : cid = conference : cid | publication : jid = journal : jid | domain_publication : did = domain : did | domain_publication : pid = publication : pid | publication_keyword : kid = keyword : kid | publication_keyword : pid = publication : pid | writes : aid = author : aid | writes : pid = publication : pid | cite : citing = publication : pid | cite : cited = publication : pid |
academic | SELECT t2.title FROM publication AS t2 JOIN conference AS t1 ON t2.cid = t1.cid WHERE t1.name = "VLDB"; | return me the papers on VLDB conference . | [Schema (values) (types)]: | academic | author : aid (text) , homepage (number) , name (text) , oid (text) | conference : cid (text) , homepage (number) , name (text) | domain : did (text) , name (number) | domain_author : aid (text) , did (number) | domain_conference : cid (text) , did (number) | journal : homepage (text) , jid (number) , name (text) | domain_journal : did (text) , jid (number) | keyword : keyword (text) , kid (number) | domain_keyword : did (text) , kid (number) | publication : abstract (text) , cid (number) , citation_num (text) , jid (text) , pid (number) , reference_num (number) , title (text) , year (text) | domain_publication : did (text) , pid (number) | organization : continent (text) , homepage (number) , name (text) , oid (text) | publication_keyword : pid (text) , kid (number) | writes : aid (text) , pid (number) | cite : cited (text) , citing (number); | [Primary Keys]: author : aid, conference : cid, domain : did, domain_author : did, domain_conference : did, journal : jid, domain_journal : did, keyword : kid, domain_keyword : did, publication : pid, domain_publication : did, organization : oid, publication_keyword : kid, writes : aid | [Foreign Keys]: domain_author : did = domain : did | domain_author : aid = author : aid | domain_conference : did = domain : did | domain_conference : cid = conference : cid | domain_journal : did = domain : did | domain_journal : jid = journal : jid | domain_keyword : did = domain : did | domain_keyword : kid = keyword : kid | publication : cid = conference : cid | publication : jid = journal : jid | domain_publication : did = domain : did | domain_publication : pid = publication : pid | publication_keyword : kid = keyword : kid | publication_keyword : pid = publication : pid | writes : aid = author : aid | writes : pid = publication : pid | cite : citing = publication : pid | cite : cited = publication : pid |
academic | SELECT t2.title FROM publication AS t2 JOIN journal AS t1 ON t2.jid = t1.jid WHERE t1.name = "PVLDB"; | return me the papers on PVLDB . | [Schema (values) (types)]: | academic | author : aid (text) , homepage (number) , name (text) , oid (text) | conference : cid (text) , homepage (number) , name (text) | domain : did (text) , name (number) | domain_author : aid (text) , did (number) | domain_conference : cid (text) , did (number) | journal : homepage (text) , jid (number) , name (text) | domain_journal : did (text) , jid (number) | keyword : keyword (text) , kid (number) | domain_keyword : did (text) , kid (number) | publication : abstract (text) , cid (number) , citation_num (text) , jid (text) , pid (number) , reference_num (number) , title (text) , year (text) | domain_publication : did (text) , pid (number) | organization : continent (text) , homepage (number) , name (text) , oid (text) | publication_keyword : pid (text) , kid (number) | writes : aid (text) , pid (number) | cite : cited (text) , citing (number); | [Primary Keys]: author : aid, conference : cid, domain : did, domain_author : did, domain_conference : did, journal : jid, domain_journal : did, keyword : kid, domain_keyword : did, publication : pid, domain_publication : did, organization : oid, publication_keyword : kid, writes : aid | [Foreign Keys]: domain_author : did = domain : did | domain_author : aid = author : aid | domain_conference : did = domain : did | domain_conference : cid = conference : cid | domain_journal : did = domain : did | domain_journal : jid = journal : jid | domain_keyword : did = domain : did | domain_keyword : kid = keyword : kid | publication : cid = conference : cid | publication : jid = journal : jid | domain_publication : did = domain : did | domain_publication : pid = publication : pid | publication_keyword : kid = keyword : kid | publication_keyword : pid = publication : pid | writes : aid = author : aid | writes : pid = publication : pid | cite : citing = publication : pid | cite : cited = publication : pid |
academic | SELECT t2.title FROM publication AS t2 JOIN journal AS t1 ON t2.jid = t1.jid WHERE t1.name = "PVLDB" AND t2.year > 2000; | return me the papers on PVLDB after 2000 . | [Schema (values) (types)]: | academic | author : aid (text) , homepage (number) , name (text) , oid (text) | conference : cid (text) , homepage (number) , name (text) | domain : did (text) , name (number) | domain_author : aid (text) , did (number) | domain_conference : cid (text) , did (number) | journal : homepage (text) , jid (number) , name (text) | domain_journal : did (text) , jid (number) | keyword : keyword (text) , kid (number) | domain_keyword : did (text) , kid (number) | publication : abstract (text) , cid (number) , citation_num (text) , jid (text) , pid (number) , reference_num (number) , title (text) , year (text) | domain_publication : did (text) , pid (number) | organization : continent (text) , homepage (number) , name (text) , oid (text) | publication_keyword : pid (text) , kid (number) | writes : aid (text) , pid (number) | cite : cited (text) , citing (number); | [Primary Keys]: author : aid, conference : cid, domain : did, domain_author : did, domain_conference : did, journal : jid, domain_journal : did, keyword : kid, domain_keyword : did, publication : pid, domain_publication : did, organization : oid, publication_keyword : kid, writes : aid | [Foreign Keys]: domain_author : did = domain : did | domain_author : aid = author : aid | domain_conference : did = domain : did | domain_conference : cid = conference : cid | domain_journal : did = domain : did | domain_journal : jid = journal : jid | domain_keyword : did = domain : did | domain_keyword : kid = keyword : kid | publication : cid = conference : cid | publication : jid = journal : jid | domain_publication : did = domain : did | domain_publication : pid = publication : pid | publication_keyword : kid = keyword : kid | publication_keyword : pid = publication : pid | writes : aid = author : aid | writes : pid = publication : pid | cite : citing = publication : pid | cite : cited = publication : pid |
academic | SELECT t2.title FROM publication AS t2 JOIN conference AS t1 ON t2.cid = t1.cid WHERE t1.name = "VLDB" AND t2.year > 2000; | return me the papers on VLDB conference after 2000 . | [Schema (values) (types)]: | academic | author : aid (text) , homepage (number) , name (text) , oid (text) | conference : cid (text) , homepage (number) , name (text) | domain : did (text) , name (number) | domain_author : aid (text) , did (number) | domain_conference : cid (text) , did (number) | journal : homepage (text) , jid (number) , name (text) | domain_journal : did (text) , jid (number) | keyword : keyword (text) , kid (number) | domain_keyword : did (text) , kid (number) | publication : abstract (text) , cid (number) , citation_num (text) , jid (text) , pid (number) , reference_num (number) , title (text) , year (text) | domain_publication : did (text) , pid (number) | organization : continent (text) , homepage (number) , name (text) , oid (text) | publication_keyword : pid (text) , kid (number) | writes : aid (text) , pid (number) | cite : cited (text) , citing (number); | [Primary Keys]: author : aid, conference : cid, domain : did, domain_author : did, domain_conference : did, journal : jid, domain_journal : did, keyword : kid, domain_keyword : did, publication : pid, domain_publication : did, organization : oid, publication_keyword : kid, writes : aid | [Foreign Keys]: domain_author : did = domain : did | domain_author : aid = author : aid | domain_conference : did = domain : did | domain_conference : cid = conference : cid | domain_journal : did = domain : did | domain_journal : jid = journal : jid | domain_keyword : did = domain : did | domain_keyword : kid = keyword : kid | publication : cid = conference : cid | publication : jid = journal : jid | domain_publication : did = domain : did | domain_publication : pid = publication : pid | publication_keyword : kid = keyword : kid | publication_keyword : pid = publication : pid | writes : aid = author : aid | writes : pid = publication : pid | cite : citing = publication : pid | cite : cited = publication : pid |
academic | SELECT t4.title FROM publication AS t4 JOIN journal AS t2 ON t4.jid = t2.jid JOIN writes AS t3 ON t3.pid = t4.pid JOIN author AS t1 ON t3.aid = t1.aid WHERE t1.name = "H. V. Jagadish" AND t2.name = "PVLDB"; | return me the papers by " H. V. Jagadish " on PVLDB . | [Schema (values) (types)]: | academic | author : aid (text) , homepage (number) , name (text) , oid (text) | conference : cid (text) , homepage (number) , name (text) | domain : did (text) , name (number) | domain_author : aid (text) , did (number) | domain_conference : cid (text) , did (number) | journal : homepage (text) , jid (number) , name (text) | domain_journal : did (text) , jid (number) | keyword : keyword (text) , kid (number) | domain_keyword : did (text) , kid (number) | publication : abstract (text) , cid (number) , citation_num (text) , jid (text) , pid (number) , reference_num (number) , title (text) , year (text) | domain_publication : did (text) , pid (number) | organization : continent (text) , homepage (number) , name (text) , oid (text) | publication_keyword : pid (text) , kid (number) | writes : aid (text) , pid (number) | cite : cited (text) , citing (number); | [Primary Keys]: author : aid, conference : cid, domain : did, domain_author : did, domain_conference : did, journal : jid, domain_journal : did, keyword : kid, domain_keyword : did, publication : pid, domain_publication : did, organization : oid, publication_keyword : kid, writes : aid | [Foreign Keys]: domain_author : did = domain : did | domain_author : aid = author : aid | domain_conference : did = domain : did | domain_conference : cid = conference : cid | domain_journal : did = domain : did | domain_journal : jid = journal : jid | domain_keyword : did = domain : did | domain_keyword : kid = keyword : kid | publication : cid = conference : cid | publication : jid = journal : jid | domain_publication : did = domain : did | domain_publication : pid = publication : pid | publication_keyword : kid = keyword : kid | publication_keyword : pid = publication : pid | writes : aid = author : aid | writes : pid = publication : pid | cite : citing = publication : pid | cite : cited = publication : pid |
academic | SELECT t4.title FROM publication AS t4 JOIN conference AS t2 ON t4.cid = t2.cid JOIN writes AS t3 ON t3.pid = t4.pid JOIN author AS t1 ON t3.aid = t1.aid WHERE t1.name = "H. V. Jagadish" AND t2.name = "VLDB"; | return me the papers by " H. V. Jagadish " on VLDB conference . | [Schema (values) (types)]: | academic | author : aid (text) , homepage (number) , name (text) , oid (text) | conference : cid (text) , homepage (number) , name (text) | domain : did (text) , name (number) | domain_author : aid (text) , did (number) | domain_conference : cid (text) , did (number) | journal : homepage (text) , jid (number) , name (text) | domain_journal : did (text) , jid (number) | keyword : keyword (text) , kid (number) | domain_keyword : did (text) , kid (number) | publication : abstract (text) , cid (number) , citation_num (text) , jid (text) , pid (number) , reference_num (number) , title (text) , year (text) | domain_publication : did (text) , pid (number) | organization : continent (text) , homepage (number) , name (text) , oid (text) | publication_keyword : pid (text) , kid (number) | writes : aid (text) , pid (number) | cite : cited (text) , citing (number); | [Primary Keys]: author : aid, conference : cid, domain : did, domain_author : did, domain_conference : did, journal : jid, domain_journal : did, keyword : kid, domain_keyword : did, publication : pid, domain_publication : did, organization : oid, publication_keyword : kid, writes : aid | [Foreign Keys]: domain_author : did = domain : did | domain_author : aid = author : aid | domain_conference : did = domain : did | domain_conference : cid = conference : cid | domain_journal : did = domain : did | domain_journal : jid = journal : jid | domain_keyword : did = domain : did | domain_keyword : kid = keyword : kid | publication : cid = conference : cid | publication : jid = journal : jid | domain_publication : did = domain : did | domain_publication : pid = publication : pid | publication_keyword : kid = keyword : kid | publication_keyword : pid = publication : pid | writes : aid = author : aid | writes : pid = publication : pid | cite : citing = publication : pid | cite : cited = publication : pid |
academic | SELECT t3.title FROM writes AS t2 JOIN author AS t1 ON t2.aid = t1.aid JOIN publication AS t3 ON t2.pid = t3.pid WHERE t1.name = "H. V. Jagadish" AND t3.year > 2000; | return me the papers by " H. V. Jagadish " after 2000 . | [Schema (values) (types)]: | academic | author : aid (text) , homepage (number) , name (text) , oid (text) | conference : cid (text) , homepage (number) , name (text) | domain : did (text) , name (number) | domain_author : aid (text) , did (number) | domain_conference : cid (text) , did (number) | journal : homepage (text) , jid (number) , name (text) | domain_journal : did (text) , jid (number) | keyword : keyword (text) , kid (number) | domain_keyword : did (text) , kid (number) | publication : abstract (text) , cid (number) , citation_num (text) , jid (text) , pid (number) , reference_num (number) , title (text) , year (text) | domain_publication : did (text) , pid (number) | organization : continent (text) , homepage (number) , name (text) , oid (text) | publication_keyword : pid (text) , kid (number) | writes : aid (text) , pid (number) | cite : cited (text) , citing (number); | [Primary Keys]: author : aid, conference : cid, domain : did, domain_author : did, domain_conference : did, journal : jid, domain_journal : did, keyword : kid, domain_keyword : did, publication : pid, domain_publication : did, organization : oid, publication_keyword : kid, writes : aid | [Foreign Keys]: domain_author : did = domain : did | domain_author : aid = author : aid | domain_conference : did = domain : did | domain_conference : cid = conference : cid | domain_journal : did = domain : did | domain_journal : jid = journal : jid | domain_keyword : did = domain : did | domain_keyword : kid = keyword : kid | publication : cid = conference : cid | publication : jid = journal : jid | domain_publication : did = domain : did | domain_publication : pid = publication : pid | publication_keyword : kid = keyword : kid | publication_keyword : pid = publication : pid | writes : aid = author : aid | writes : pid = publication : pid | cite : citing = publication : pid | cite : cited = publication : pid |
academic | SELECT t4.title FROM publication AS t4 JOIN journal AS t2 ON t4.jid = t2.jid JOIN writes AS t3 ON t3.pid = t4.pid JOIN author AS t1 ON t3.aid = t1.aid WHERE t1.name = "H. V. Jagadish" AND t2.name = "PVLDB" AND t4.year > 2000; | return me the papers by " H. V. Jagadish " on PVLDB after 2000 . | [Schema (values) (types)]: | academic | author : aid (text) , homepage (number) , name (text) , oid (text) | conference : cid (text) , homepage (number) , name (text) | domain : did (text) , name (number) | domain_author : aid (text) , did (number) | domain_conference : cid (text) , did (number) | journal : homepage (text) , jid (number) , name (text) | domain_journal : did (text) , jid (number) | keyword : keyword (text) , kid (number) | domain_keyword : did (text) , kid (number) | publication : abstract (text) , cid (number) , citation_num (text) , jid (text) , pid (number) , reference_num (number) , title (text) , year (text) | domain_publication : did (text) , pid (number) | organization : continent (text) , homepage (number) , name (text) , oid (text) | publication_keyword : pid (text) , kid (number) | writes : aid (text) , pid (number) | cite : cited (text) , citing (number); | [Primary Keys]: author : aid, conference : cid, domain : did, domain_author : did, domain_conference : did, journal : jid, domain_journal : did, keyword : kid, domain_keyword : did, publication : pid, domain_publication : did, organization : oid, publication_keyword : kid, writes : aid | [Foreign Keys]: domain_author : did = domain : did | domain_author : aid = author : aid | domain_conference : did = domain : did | domain_conference : cid = conference : cid | domain_journal : did = domain : did | domain_journal : jid = journal : jid | domain_keyword : did = domain : did | domain_keyword : kid = keyword : kid | publication : cid = conference : cid | publication : jid = journal : jid | domain_publication : did = domain : did | domain_publication : pid = publication : pid | publication_keyword : kid = keyword : kid | publication_keyword : pid = publication : pid | writes : aid = author : aid | writes : pid = publication : pid | cite : citing = publication : pid | cite : cited = publication : pid |
academic | SELECT t4.title FROM publication AS t4 JOIN conference AS t2 ON t4.cid = t2.cid JOIN writes AS t3 ON t3.pid = t4.pid JOIN author AS t1 ON t3.aid = t1.aid WHERE t1.name = "H. V. Jagadish" AND t2.name = "VLDB" AND t4.year > 2000; | return me the papers by " H. V. Jagadish " on VLDB conference after 2000 . | [Schema (values) (types)]: | academic | author : aid (text) , homepage (number) , name (text) , oid (text) | conference : cid (text) , homepage (number) , name (text) | domain : did (text) , name (number) | domain_author : aid (text) , did (number) | domain_conference : cid (text) , did (number) | journal : homepage (text) , jid (number) , name (text) | domain_journal : did (text) , jid (number) | keyword : keyword (text) , kid (number) | domain_keyword : did (text) , kid (number) | publication : abstract (text) , cid (number) , citation_num (text) , jid (text) , pid (number) , reference_num (number) , title (text) , year (text) | domain_publication : did (text) , pid (number) | organization : continent (text) , homepage (number) , name (text) , oid (text) | publication_keyword : pid (text) , kid (number) | writes : aid (text) , pid (number) | cite : cited (text) , citing (number); | [Primary Keys]: author : aid, conference : cid, domain : did, domain_author : did, domain_conference : did, journal : jid, domain_journal : did, keyword : kid, domain_keyword : did, publication : pid, domain_publication : did, organization : oid, publication_keyword : kid, writes : aid | [Foreign Keys]: domain_author : did = domain : did | domain_author : aid = author : aid | domain_conference : did = domain : did | domain_conference : cid = conference : cid | domain_journal : did = domain : did | domain_journal : jid = journal : jid | domain_keyword : did = domain : did | domain_keyword : kid = keyword : kid | publication : cid = conference : cid | publication : jid = journal : jid | domain_publication : did = domain : did | domain_publication : pid = publication : pid | publication_keyword : kid = keyword : kid | publication_keyword : pid = publication : pid | writes : aid = author : aid | writes : pid = publication : pid | cite : citing = publication : pid | cite : cited = publication : pid |
academic | SELECT t2.name FROM domain_conference AS t3 JOIN conference AS t1 ON t3.cid = t1.cid JOIN DOMAIN AS t2 ON t2.did = t3.did WHERE t1.name = "VLDB"; | return me the area of the VLDB conference . | [Schema (values) (types)]: | academic | author : aid (text) , homepage (number) , name (text) , oid (text) | conference : cid (text) , homepage (number) , name (text) | domain : did (text) , name (number) | domain_author : aid (text) , did (number) | domain_conference : cid (text) , did (number) | journal : homepage (text) , jid (number) , name (text) | domain_journal : did (text) , jid (number) | keyword : keyword (text) , kid (number) | domain_keyword : did (text) , kid (number) | publication : abstract (text) , cid (number) , citation_num (text) , jid (text) , pid (number) , reference_num (number) , title (text) , year (text) | domain_publication : did (text) , pid (number) | organization : continent (text) , homepage (number) , name (text) , oid (text) | publication_keyword : pid (text) , kid (number) | writes : aid (text) , pid (number) | cite : cited (text) , citing (number); | [Primary Keys]: author : aid, conference : cid, domain : did, domain_author : did, domain_conference : did, journal : jid, domain_journal : did, keyword : kid, domain_keyword : did, publication : pid, domain_publication : did, organization : oid, publication_keyword : kid, writes : aid | [Foreign Keys]: domain_author : did = domain : did | domain_author : aid = author : aid | domain_conference : did = domain : did | domain_conference : cid = conference : cid | domain_journal : did = domain : did | domain_journal : jid = journal : jid | domain_keyword : did = domain : did | domain_keyword : kid = keyword : kid | publication : cid = conference : cid | publication : jid = journal : jid | domain_publication : did = domain : did | domain_publication : pid = publication : pid | publication_keyword : kid = keyword : kid | publication_keyword : pid = publication : pid | writes : aid = author : aid | writes : pid = publication : pid | cite : citing = publication : pid | cite : cited = publication : pid |
academic | SELECT t1.name FROM publication AS t4 JOIN conference AS t2 ON t4.cid = t2.cid JOIN writes AS t3 ON t3.pid = t4.pid JOIN author AS t1 ON t3.aid = t1.aid WHERE t2.name = "VLDB"; | return me the authors who have papers in the VLDB conference . | [Schema (values) (types)]: | academic | author : aid (text) , homepage (number) , name (text) , oid (text) | conference : cid (text) , homepage (number) , name (text) | domain : did (text) , name (number) | domain_author : aid (text) , did (number) | domain_conference : cid (text) , did (number) | journal : homepage (text) , jid (number) , name (text) | domain_journal : did (text) , jid (number) | keyword : keyword (text) , kid (number) | domain_keyword : did (text) , kid (number) | publication : abstract (text) , cid (number) , citation_num (text) , jid (text) , pid (number) , reference_num (number) , title (text) , year (text) | domain_publication : did (text) , pid (number) | organization : continent (text) , homepage (number) , name (text) , oid (text) | publication_keyword : pid (text) , kid (number) | writes : aid (text) , pid (number) | cite : cited (text) , citing (number); | [Primary Keys]: author : aid, conference : cid, domain : did, domain_author : did, domain_conference : did, journal : jid, domain_journal : did, keyword : kid, domain_keyword : did, publication : pid, domain_publication : did, organization : oid, publication_keyword : kid, writes : aid | [Foreign Keys]: domain_author : did = domain : did | domain_author : aid = author : aid | domain_conference : did = domain : did | domain_conference : cid = conference : cid | domain_journal : did = domain : did | domain_journal : jid = journal : jid | domain_keyword : did = domain : did | domain_keyword : kid = keyword : kid | publication : cid = conference : cid | publication : jid = journal : jid | domain_publication : did = domain : did | domain_publication : pid = publication : pid | publication_keyword : kid = keyword : kid | publication_keyword : pid = publication : pid | writes : aid = author : aid | writes : pid = publication : pid | cite : citing = publication : pid | cite : cited = publication : pid |
academic | SELECT t1.keyword FROM DOMAIN AS t3 JOIN domain_keyword AS t2 ON t3.did = t2.did JOIN keyword AS t1 ON t1.kid = t2.kid WHERE t3.name = "Databases"; | return me all the keywords in Databases area . | [Schema (values) (types)]: | academic | author : aid (text) , homepage (number) , name (text) , oid (text) | conference : cid (text) , homepage (number) , name (text) | domain : did (text) , name (number) | domain_author : aid (text) , did (number) | domain_conference : cid (text) , did (number) | journal : homepage (text) , jid (number) , name (text) | domain_journal : did (text) , jid (number) | keyword : keyword (text) , kid (number) | domain_keyword : did (text) , kid (number) | publication : abstract (text) , cid (number) , citation_num (text) , jid (text) , pid (number) , reference_num (number) , title (text) , year (text) | domain_publication : did (text) , pid (number) | organization : continent (text) , homepage (number) , name (text) , oid (text) | publication_keyword : pid (text) , kid (number) | writes : aid (text) , pid (number) | cite : cited (text) , citing (number); | [Primary Keys]: author : aid, conference : cid, domain : did, domain_author : did, domain_conference : did, journal : jid, domain_journal : did, keyword : kid, domain_keyword : did, publication : pid, domain_publication : did, organization : oid, publication_keyword : kid, writes : aid | [Foreign Keys]: domain_author : did = domain : did | domain_author : aid = author : aid | domain_conference : did = domain : did | domain_conference : cid = conference : cid | domain_journal : did = domain : did | domain_journal : jid = journal : jid | domain_keyword : did = domain : did | domain_keyword : kid = keyword : kid | publication : cid = conference : cid | publication : jid = journal : jid | domain_publication : did = domain : did | domain_publication : pid = publication : pid | publication_keyword : kid = keyword : kid | publication_keyword : pid = publication : pid | writes : aid = author : aid | writes : pid = publication : pid | cite : citing = publication : pid | cite : cited = publication : pid |
academic | SELECT t3.title FROM publication_keyword AS t2 JOIN keyword AS t1 ON t2.kid = t1.kid JOIN publication AS t3 ON t3.pid = t2.pid WHERE t1.keyword = "Natural Language"; | return me all the papers, which contain the keyword " Natural Language " . | [Schema (values) (types)]: | academic | author : aid (text) , homepage (number) , name (text) , oid (text) | conference : cid (text) , homepage (number) , name (text) | domain : did (text) , name (number) | domain_author : aid (text) , did (number) | domain_conference : cid (text) , did (number) | journal : homepage (text) , jid (number) , name (text) | domain_journal : did (text) , jid (number) | keyword : keyword (text) , kid (number) | domain_keyword : did (text) , kid (number) | publication : abstract (text) , cid (number) , citation_num (text) , jid (text) , pid (number) , reference_num (number) , title (text) , year (text) | domain_publication : did (text) , pid (number) | organization : continent (text) , homepage (number) , name (text) , oid (text) | publication_keyword : pid (text) , kid (number) | writes : aid (text) , pid (number) | cite : cited (text) , citing (number); | [Primary Keys]: author : aid, conference : cid, domain : did, domain_author : did, domain_conference : did, journal : jid, domain_journal : did, keyword : kid, domain_keyword : did, publication : pid, domain_publication : did, organization : oid, publication_keyword : kid, writes : aid | [Foreign Keys]: domain_author : did = domain : did | domain_author : aid = author : aid | domain_conference : did = domain : did | domain_conference : cid = conference : cid | domain_journal : did = domain : did | domain_journal : jid = journal : jid | domain_keyword : did = domain : did | domain_keyword : kid = keyword : kid | publication : cid = conference : cid | publication : jid = journal : jid | domain_publication : did = domain : did | domain_publication : pid = publication : pid | publication_keyword : kid = keyword : kid | publication_keyword : pid = publication : pid | writes : aid = author : aid | writes : pid = publication : pid | cite : citing = publication : pid | cite : cited = publication : pid |
academic | SELECT t1.keyword FROM publication_keyword AS t3 JOIN keyword AS t1 ON t3.kid = t1.kid JOIN publication AS t2 ON t2.pid = t3.pid WHERE t2.title = "Making database systems usable"; | return me the keywords of " Making database systems usable " . | [Schema (values) (types)]: | academic | author : aid (text) , homepage (number) , name (text) , oid (text) | conference : cid (text) , homepage (number) , name (text) | domain : did (text) , name (number) | domain_author : aid (text) , did (number) | domain_conference : cid (text) , did (number) | journal : homepage (text) , jid (number) , name (text) | domain_journal : did (text) , jid (number) | keyword : keyword (text) , kid (number) | domain_keyword : did (text) , kid (number) | publication : abstract (text) , cid (number) , citation_num (text) , jid (text) , pid (number) , reference_num (number) , title (text) , year (text) | domain_publication : did (text) , pid (number) | organization : continent (text) , homepage (number) , name (text) , oid (text) | publication_keyword : pid (text) , kid (number) | writes : aid (text) , pid (number) | cite : cited (text) , citing (number); | [Primary Keys]: author : aid, conference : cid, domain : did, domain_author : did, domain_conference : did, journal : jid, domain_journal : did, keyword : kid, domain_keyword : did, publication : pid, domain_publication : did, organization : oid, publication_keyword : kid, writes : aid | [Foreign Keys]: domain_author : did = domain : did | domain_author : aid = author : aid | domain_conference : did = domain : did | domain_conference : cid = conference : cid | domain_journal : did = domain : did | domain_journal : jid = journal : jid | domain_keyword : did = domain : did | domain_keyword : kid = keyword : kid | publication : cid = conference : cid | publication : jid = journal : jid | domain_publication : did = domain : did | domain_publication : pid = publication : pid | publication_keyword : kid = keyword : kid | publication_keyword : pid = publication : pid | writes : aid = author : aid | writes : pid = publication : pid | cite : citing = publication : pid | cite : cited = publication : pid |
academic | SELECT t1.keyword FROM publication_keyword AS t5 JOIN keyword AS t1 ON t5.kid = t1.kid JOIN publication AS t3 ON t3.pid = t5.pid JOIN writes AS t4 ON t4.pid = t3.pid JOIN author AS t2 ON t4.aid = t2.aid WHERE t2.name = "H. V. Jagadish"; | return me the keywords related to " H. V. Jagadish " . | [Schema (values) (types)]: | academic | author : aid (text) , homepage (number) , name (text) , oid (text) | conference : cid (text) , homepage (number) , name (text) | domain : did (text) , name (number) | domain_author : aid (text) , did (number) | domain_conference : cid (text) , did (number) | journal : homepage (text) , jid (number) , name (text) | domain_journal : did (text) , jid (number) | keyword : keyword (text) , kid (number) | domain_keyword : did (text) , kid (number) | publication : abstract (text) , cid (number) , citation_num (text) , jid (text) , pid (number) , reference_num (number) , title (text) , year (text) | domain_publication : did (text) , pid (number) | organization : continent (text) , homepage (number) , name (text) , oid (text) | publication_keyword : pid (text) , kid (number) | writes : aid (text) , pid (number) | cite : cited (text) , citing (number); | [Primary Keys]: author : aid, conference : cid, domain : did, domain_author : did, domain_conference : did, journal : jid, domain_journal : did, keyword : kid, domain_keyword : did, publication : pid, domain_publication : did, organization : oid, publication_keyword : kid, writes : aid | [Foreign Keys]: domain_author : did = domain : did | domain_author : aid = author : aid | domain_conference : did = domain : did | domain_conference : cid = conference : cid | domain_journal : did = domain : did | domain_journal : jid = journal : jid | domain_keyword : did = domain : did | domain_keyword : kid = keyword : kid | publication : cid = conference : cid | publication : jid = journal : jid | domain_publication : did = domain : did | domain_publication : pid = publication : pid | publication_keyword : kid = keyword : kid | publication_keyword : pid = publication : pid | writes : aid = author : aid | writes : pid = publication : pid | cite : citing = publication : pid | cite : cited = publication : pid |
academic | SELECT t1.keyword FROM publication_keyword AS t4 JOIN keyword AS t1 ON t4.kid = t1.kid JOIN publication AS t3 ON t3.pid = t4.pid JOIN conference AS t2 ON t3.cid = t2.cid WHERE t2.name = "VLDB"; | return me the keywords in VLDB conference . | [Schema (values) (types)]: | academic | author : aid (text) , homepage (number) , name (text) , oid (text) | conference : cid (text) , homepage (number) , name (text) | domain : did (text) , name (number) | domain_author : aid (text) , did (number) | domain_conference : cid (text) , did (number) | journal : homepage (text) , jid (number) , name (text) | domain_journal : did (text) , jid (number) | keyword : keyword (text) , kid (number) | domain_keyword : did (text) , kid (number) | publication : abstract (text) , cid (number) , citation_num (text) , jid (text) , pid (number) , reference_num (number) , title (text) , year (text) | domain_publication : did (text) , pid (number) | organization : continent (text) , homepage (number) , name (text) , oid (text) | publication_keyword : pid (text) , kid (number) | writes : aid (text) , pid (number) | cite : cited (text) , citing (number); | [Primary Keys]: author : aid, conference : cid, domain : did, domain_author : did, domain_conference : did, journal : jid, domain_journal : did, keyword : kid, domain_keyword : did, publication : pid, domain_publication : did, organization : oid, publication_keyword : kid, writes : aid | [Foreign Keys]: domain_author : did = domain : did | domain_author : aid = author : aid | domain_conference : did = domain : did | domain_conference : cid = conference : cid | domain_journal : did = domain : did | domain_journal : jid = journal : jid | domain_keyword : did = domain : did | domain_keyword : kid = keyword : kid | publication : cid = conference : cid | publication : jid = journal : jid | domain_publication : did = domain : did | domain_publication : pid = publication : pid | publication_keyword : kid = keyword : kid | publication_keyword : pid = publication : pid | writes : aid = author : aid | writes : pid = publication : pid | cite : citing = publication : pid | cite : cited = publication : pid |
academic | SELECT t1.keyword FROM publication_keyword AS t4 JOIN keyword AS t1 ON t4.kid = t1.kid JOIN publication AS t2 ON t2.pid = t4.pid JOIN journal AS t3 ON t2.jid = t3.jid WHERE t3.name = "PVLDB"; | return me the keywords in PVLDB . | [Schema (values) (types)]: | academic | author : aid (text) , homepage (number) , name (text) , oid (text) | conference : cid (text) , homepage (number) , name (text) | domain : did (text) , name (number) | domain_author : aid (text) , did (number) | domain_conference : cid (text) , did (number) | journal : homepage (text) , jid (number) , name (text) | domain_journal : did (text) , jid (number) | keyword : keyword (text) , kid (number) | domain_keyword : did (text) , kid (number) | publication : abstract (text) , cid (number) , citation_num (text) , jid (text) , pid (number) , reference_num (number) , title (text) , year (text) | domain_publication : did (text) , pid (number) | organization : continent (text) , homepage (number) , name (text) , oid (text) | publication_keyword : pid (text) , kid (number) | writes : aid (text) , pid (number) | cite : cited (text) , citing (number); | [Primary Keys]: author : aid, conference : cid, domain : did, domain_author : did, domain_conference : did, journal : jid, domain_journal : did, keyword : kid, domain_keyword : did, publication : pid, domain_publication : did, organization : oid, publication_keyword : kid, writes : aid | [Foreign Keys]: domain_author : did = domain : did | domain_author : aid = author : aid | domain_conference : did = domain : did | domain_conference : cid = conference : cid | domain_journal : did = domain : did | domain_journal : jid = journal : jid | domain_keyword : did = domain : did | domain_keyword : kid = keyword : kid | publication : cid = conference : cid | publication : jid = journal : jid | domain_publication : did = domain : did | domain_publication : pid = publication : pid | publication_keyword : kid = keyword : kid | publication_keyword : pid = publication : pid | writes : aid = author : aid | writes : pid = publication : pid | cite : citing = publication : pid | cite : cited = publication : pid |
academic | SELECT t1.keyword FROM organization AS t6 JOIN author AS t2 ON t6.oid = t2.oid JOIN writes AS t4 ON t4.aid = t2.aid JOIN publication AS t5 ON t4.pid = t5.pid JOIN publication_keyword AS t3 ON t5.pid = t3.pid JOIN keyword AS t1 ON t3.kid = t1.kid WHERE t6.name = "University of Michigan"; | return me the keywords in the papers of " University of Michigan " . | [Schema (values) (types)]: | academic | author : aid (text) , homepage (number) , name (text) , oid (text) | conference : cid (text) , homepage (number) , name (text) | domain : did (text) , name (number) | domain_author : aid (text) , did (number) | domain_conference : cid (text) , did (number) | journal : homepage (text) , jid (number) , name (text) | domain_journal : did (text) , jid (number) | keyword : keyword (text) , kid (number) | domain_keyword : did (text) , kid (number) | publication : abstract (text) , cid (number) , citation_num (text) , jid (text) , pid (number) , reference_num (number) , title (text) , year (text) | domain_publication : did (text) , pid (number) | organization : continent (text) , homepage (number) , name (text) , oid (text) | publication_keyword : pid (text) , kid (number) | writes : aid (text) , pid (number) | cite : cited (text) , citing (number); | [Primary Keys]: author : aid, conference : cid, domain : did, domain_author : did, domain_conference : did, journal : jid, domain_journal : did, keyword : kid, domain_keyword : did, publication : pid, domain_publication : did, organization : oid, publication_keyword : kid, writes : aid | [Foreign Keys]: domain_author : did = domain : did | domain_author : aid = author : aid | domain_conference : did = domain : did | domain_conference : cid = conference : cid | domain_journal : did = domain : did | domain_journal : jid = journal : jid | domain_keyword : did = domain : did | domain_keyword : kid = keyword : kid | publication : cid = conference : cid | publication : jid = journal : jid | domain_publication : did = domain : did | domain_publication : pid = publication : pid | publication_keyword : kid = keyword : kid | publication_keyword : pid = publication : pid | writes : aid = author : aid | writes : pid = publication : pid | cite : citing = publication : pid | cite : cited = publication : pid |
academic | SELECT t5.title FROM publication_keyword AS t3 JOIN keyword AS t1 ON t3.kid = t1.kid JOIN publication AS t5 ON t5.pid = t3.pid JOIN writes AS t4 ON t4.pid = t5.pid JOIN author AS t2 ON t4.aid = t2.aid WHERE t2.name = "H. V. Jagadish" AND t1.keyword = "User Study"; | return me the papers of " H. V. Jagadish " containing keyword " User Study " . | [Schema (values) (types)]: | academic | author : aid (text) , homepage (number) , name (text) , oid (text) | conference : cid (text) , homepage (number) , name (text) | domain : did (text) , name (number) | domain_author : aid (text) , did (number) | domain_conference : cid (text) , did (number) | journal : homepage (text) , jid (number) , name (text) | domain_journal : did (text) , jid (number) | keyword : keyword (text) , kid (number) | domain_keyword : did (text) , kid (number) | publication : abstract (text) , cid (number) , citation_num (text) , jid (text) , pid (number) , reference_num (number) , title (text) , year (text) | domain_publication : did (text) , pid (number) | organization : continent (text) , homepage (number) , name (text) , oid (text) | publication_keyword : pid (text) , kid (number) | writes : aid (text) , pid (number) | cite : cited (text) , citing (number); | [Primary Keys]: author : aid, conference : cid, domain : did, domain_author : did, domain_conference : did, journal : jid, domain_journal : did, keyword : kid, domain_keyword : did, publication : pid, domain_publication : did, organization : oid, publication_keyword : kid, writes : aid | [Foreign Keys]: domain_author : did = domain : did | domain_author : aid = author : aid | domain_conference : did = domain : did | domain_conference : cid = conference : cid | domain_journal : did = domain : did | domain_journal : jid = journal : jid | domain_keyword : did = domain : did | domain_keyword : kid = keyword : kid | publication : cid = conference : cid | publication : jid = journal : jid | domain_publication : did = domain : did | domain_publication : pid = publication : pid | publication_keyword : kid = keyword : kid | publication_keyword : pid = publication : pid | writes : aid = author : aid | writes : pid = publication : pid | cite : citing = publication : pid | cite : cited = publication : pid |
academic | SELECT t4.title FROM publication_keyword AS t2 JOIN keyword AS t1 ON t2.kid = t1.kid JOIN publication AS t4 ON t4.pid = t2.pid JOIN journal AS t3 ON t4.jid = t3.jid WHERE t3.name = "PVLDB" AND t1.keyword = "Keyword search"; | return me the papers in PVLDB containing keyword " Keyword search " . | [Schema (values) (types)]: | academic | author : aid (text) , homepage (number) , name (text) , oid (text) | conference : cid (text) , homepage (number) , name (text) | domain : did (text) , name (number) | domain_author : aid (text) , did (number) | domain_conference : cid (text) , did (number) | journal : homepage (text) , jid (number) , name (text) | domain_journal : did (text) , jid (number) | keyword : keyword (text) , kid (number) | domain_keyword : did (text) , kid (number) | publication : abstract (text) , cid (number) , citation_num (text) , jid (text) , pid (number) , reference_num (number) , title (text) , year (text) | domain_publication : did (text) , pid (number) | organization : continent (text) , homepage (number) , name (text) , oid (text) | publication_keyword : pid (text) , kid (number) | writes : aid (text) , pid (number) | cite : cited (text) , citing (number); | [Primary Keys]: author : aid, conference : cid, domain : did, domain_author : did, domain_conference : did, journal : jid, domain_journal : did, keyword : kid, domain_keyword : did, publication : pid, domain_publication : did, organization : oid, publication_keyword : kid, writes : aid | [Foreign Keys]: domain_author : did = domain : did | domain_author : aid = author : aid | domain_conference : did = domain : did | domain_conference : cid = conference : cid | domain_journal : did = domain : did | domain_journal : jid = journal : jid | domain_keyword : did = domain : did | domain_keyword : kid = keyword : kid | publication : cid = conference : cid | publication : jid = journal : jid | domain_publication : did = domain : did | domain_publication : pid = publication : pid | publication_keyword : kid = keyword : kid | publication_keyword : pid = publication : pid | writes : aid = author : aid | writes : pid = publication : pid | cite : citing = publication : pid | cite : cited = publication : pid |
academic | SELECT t4.title FROM publication_keyword AS t3 JOIN keyword AS t1 ON t3.kid = t1.kid JOIN publication AS t4 ON t4.pid = t3.pid JOIN conference AS t2 ON t4.cid = t2.cid WHERE t2.name = "VLDB" AND t1.keyword = "Information Retrieval"; | return me the papers in VLDB conference containing keyword " Information Retrieval " . | [Schema (values) (types)]: | academic | author : aid (text) , homepage (number) , name (text) , oid (text) | conference : cid (text) , homepage (number) , name (text) | domain : did (text) , name (number) | domain_author : aid (text) , did (number) | domain_conference : cid (text) , did (number) | journal : homepage (text) , jid (number) , name (text) | domain_journal : did (text) , jid (number) | keyword : keyword (text) , kid (number) | domain_keyword : did (text) , kid (number) | publication : abstract (text) , cid (number) , citation_num (text) , jid (text) , pid (number) , reference_num (number) , title (text) , year (text) | domain_publication : did (text) , pid (number) | organization : continent (text) , homepage (number) , name (text) , oid (text) | publication_keyword : pid (text) , kid (number) | writes : aid (text) , pid (number) | cite : cited (text) , citing (number); | [Primary Keys]: author : aid, conference : cid, domain : did, domain_author : did, domain_conference : did, journal : jid, domain_journal : did, keyword : kid, domain_keyword : did, publication : pid, domain_publication : did, organization : oid, publication_keyword : kid, writes : aid | [Foreign Keys]: domain_author : did = domain : did | domain_author : aid = author : aid | domain_conference : did = domain : did | domain_conference : cid = conference : cid | domain_journal : did = domain : did | domain_journal : jid = journal : jid | domain_keyword : did = domain : did | domain_keyword : kid = keyword : kid | publication : cid = conference : cid | publication : jid = journal : jid | domain_publication : did = domain : did | domain_publication : pid = publication : pid | publication_keyword : kid = keyword : kid | publication_keyword : pid = publication : pid | writes : aid = author : aid | writes : pid = publication : pid | cite : citing = publication : pid | cite : cited = publication : pid |
academic | SELECT t2.name FROM publication_keyword AS t5 JOIN keyword AS t1 ON t5.kid = t1.kid JOIN publication AS t3 ON t3.pid = t5.pid JOIN writes AS t4 ON t4.pid = t3.pid JOIN author AS t2 ON t4.aid = t2.aid WHERE t1.keyword = "Relational Database"; | return me the authors who have papers containing keyword " Relational Database " . | [Schema (values) (types)]: | academic | author : aid (text) , homepage (number) , name (text) , oid (text) | conference : cid (text) , homepage (number) , name (text) | domain : did (text) , name (number) | domain_author : aid (text) , did (number) | domain_conference : cid (text) , did (number) | journal : homepage (text) , jid (number) , name (text) | domain_journal : did (text) , jid (number) | keyword : keyword (text) , kid (number) | domain_keyword : did (text) , kid (number) | publication : abstract (text) , cid (number) , citation_num (text) , jid (text) , pid (number) , reference_num (number) , title (text) , year (text) | domain_publication : did (text) , pid (number) | organization : continent (text) , homepage (number) , name (text) , oid (text) | publication_keyword : pid (text) , kid (number) | writes : aid (text) , pid (number) | cite : cited (text) , citing (number); | [Primary Keys]: author : aid, conference : cid, domain : did, domain_author : did, domain_conference : did, journal : jid, domain_journal : did, keyword : kid, domain_keyword : did, publication : pid, domain_publication : did, organization : oid, publication_keyword : kid, writes : aid | [Foreign Keys]: domain_author : did = domain : did | domain_author : aid = author : aid | domain_conference : did = domain : did | domain_conference : cid = conference : cid | domain_journal : did = domain : did | domain_journal : jid = journal : jid | domain_keyword : did = domain : did | domain_keyword : kid = keyword : kid | publication : cid = conference : cid | publication : jid = journal : jid | domain_publication : did = domain : did | domain_publication : pid = publication : pid | publication_keyword : kid = keyword : kid | publication_keyword : pid = publication : pid | writes : aid = author : aid | writes : pid = publication : pid | cite : citing = publication : pid | cite : cited = publication : pid |
academic | SELECT t2.name FROM domain_author AS t4 JOIN author AS t1 ON t4.aid = t1.aid JOIN DOMAIN AS t3 ON t3.did = t4.did JOIN organization AS t2 ON t2.oid = t1.oid WHERE t3.name = "Databases"; | return me all the organizations in Databases area . | [Schema (values) (types)]: | academic | author : aid (text) , homepage (number) , name (text) , oid (text) | conference : cid (text) , homepage (number) , name (text) | domain : did (text) , name (number) | domain_author : aid (text) , did (number) | domain_conference : cid (text) , did (number) | journal : homepage (text) , jid (number) , name (text) | domain_journal : did (text) , jid (number) | keyword : keyword (text) , kid (number) | domain_keyword : did (text) , kid (number) | publication : abstract (text) , cid (number) , citation_num (text) , jid (text) , pid (number) , reference_num (number) , title (text) , year (text) | domain_publication : did (text) , pid (number) | organization : continent (text) , homepage (number) , name (text) , oid (text) | publication_keyword : pid (text) , kid (number) | writes : aid (text) , pid (number) | cite : cited (text) , citing (number); | [Primary Keys]: author : aid, conference : cid, domain : did, domain_author : did, domain_conference : did, journal : jid, domain_journal : did, keyword : kid, domain_keyword : did, publication : pid, domain_publication : did, organization : oid, publication_keyword : kid, writes : aid | [Foreign Keys]: domain_author : did = domain : did | domain_author : aid = author : aid | domain_conference : did = domain : did | domain_conference : cid = conference : cid | domain_journal : did = domain : did | domain_journal : jid = journal : jid | domain_keyword : did = domain : did | domain_keyword : kid = keyword : kid | publication : cid = conference : cid | publication : jid = journal : jid | domain_publication : did = domain : did | domain_publication : pid = publication : pid | publication_keyword : kid = keyword : kid | publication_keyword : pid = publication : pid | writes : aid = author : aid | writes : pid = publication : pid | cite : citing = publication : pid | cite : cited = publication : pid |
academic | SELECT t2.name FROM domain_author AS t4 JOIN author AS t1 ON t4.aid = t1.aid JOIN DOMAIN AS t3 ON t3.did = t4.did JOIN organization AS t2 ON t2.oid = t1.oid WHERE t3.name = "Databases" AND t2.continent = "North America"; | return me all the organizations in Databases area located in " North America " . | [Schema (values) (types)]: | academic | author : aid (text) , homepage (number) , name (text) , oid (text) | conference : cid (text) , homepage (number) , name (text) | domain : did (text) , name (number) | domain_author : aid (text) , did (number) | domain_conference : cid (text) , did (number) | journal : homepage (text) , jid (number) , name (text) | domain_journal : did (text) , jid (number) | keyword : keyword (text) , kid (number) | domain_keyword : did (text) , kid (number) | publication : abstract (text) , cid (number) , citation_num (text) , jid (text) , pid (number) , reference_num (number) , title (text) , year (text) | domain_publication : did (text) , pid (number) | organization : continent (text) , homepage (number) , name (text) , oid (text) | publication_keyword : pid (text) , kid (number) | writes : aid (text) , pid (number) | cite : cited (text) , citing (number); | [Primary Keys]: author : aid, conference : cid, domain : did, domain_author : did, domain_conference : did, journal : jid, domain_journal : did, keyword : kid, domain_keyword : did, publication : pid, domain_publication : did, organization : oid, publication_keyword : kid, writes : aid | [Foreign Keys]: domain_author : did = domain : did | domain_author : aid = author : aid | domain_conference : did = domain : did | domain_conference : cid = conference : cid | domain_journal : did = domain : did | domain_journal : jid = journal : jid | domain_keyword : did = domain : did | domain_keyword : kid = keyword : kid | publication : cid = conference : cid | publication : jid = journal : jid | domain_publication : did = domain : did | domain_publication : pid = publication : pid | publication_keyword : kid = keyword : kid | publication_keyword : pid = publication : pid | writes : aid = author : aid | writes : pid = publication : pid | cite : citing = publication : pid | cite : cited = publication : pid |
academic | SELECT t1.name FROM organization AS t2 JOIN author AS t1 ON t2.oid = t1.oid WHERE t2.name = "University of Michigan"; | return me all the researchers in " University of Michigan " . | [Schema (values) (types)]: | academic | author : aid (text) , homepage (number) , name (text) , oid (text) | conference : cid (text) , homepage (number) , name (text) | domain : did (text) , name (number) | domain_author : aid (text) , did (number) | domain_conference : cid (text) , did (number) | journal : homepage (text) , jid (number) , name (text) | domain_journal : did (text) , jid (number) | keyword : keyword (text) , kid (number) | domain_keyword : did (text) , kid (number) | publication : abstract (text) , cid (number) , citation_num (text) , jid (text) , pid (number) , reference_num (number) , title (text) , year (text) | domain_publication : did (text) , pid (number) | organization : continent (text) , homepage (number) , name (text) , oid (text) | publication_keyword : pid (text) , kid (number) | writes : aid (text) , pid (number) | cite : cited (text) , citing (number); | [Primary Keys]: author : aid, conference : cid, domain : did, domain_author : did, domain_conference : did, journal : jid, domain_journal : did, keyword : kid, domain_keyword : did, publication : pid, domain_publication : did, organization : oid, publication_keyword : kid, writes : aid | [Foreign Keys]: domain_author : did = domain : did | domain_author : aid = author : aid | domain_conference : did = domain : did | domain_conference : cid = conference : cid | domain_journal : did = domain : did | domain_journal : jid = journal : jid | domain_keyword : did = domain : did | domain_keyword : kid = keyword : kid | publication : cid = conference : cid | publication : jid = journal : jid | domain_publication : did = domain : did | domain_publication : pid = publication : pid | publication_keyword : kid = keyword : kid | publication_keyword : pid = publication : pid | writes : aid = author : aid | writes : pid = publication : pid | cite : citing = publication : pid | cite : cited = publication : pid |
academic | SELECT t1.name FROM domain_author AS t4 JOIN author AS t1 ON t4.aid = t1.aid JOIN DOMAIN AS t3 ON t3.did = t4.did JOIN organization AS t2 ON t2.oid = t1.oid WHERE t3.name = "Databases" AND t2.name = "University of Michigan"; | return me all the researchers in Databases area in " University of Michigan " . | [Schema (values) (types)]: | academic | author : aid (text) , homepage (number) , name (text) , oid (text) | conference : cid (text) , homepage (number) , name (text) | domain : did (text) , name (number) | domain_author : aid (text) , did (number) | domain_conference : cid (text) , did (number) | journal : homepage (text) , jid (number) , name (text) | domain_journal : did (text) , jid (number) | keyword : keyword (text) , kid (number) | domain_keyword : did (text) , kid (number) | publication : abstract (text) , cid (number) , citation_num (text) , jid (text) , pid (number) , reference_num (number) , title (text) , year (text) | domain_publication : did (text) , pid (number) | organization : continent (text) , homepage (number) , name (text) , oid (text) | publication_keyword : pid (text) , kid (number) | writes : aid (text) , pid (number) | cite : cited (text) , citing (number); | [Primary Keys]: author : aid, conference : cid, domain : did, domain_author : did, domain_conference : did, journal : jid, domain_journal : did, keyword : kid, domain_keyword : did, publication : pid, domain_publication : did, organization : oid, publication_keyword : kid, writes : aid | [Foreign Keys]: domain_author : did = domain : did | domain_author : aid = author : aid | domain_conference : did = domain : did | domain_conference : cid = conference : cid | domain_journal : did = domain : did | domain_journal : jid = journal : jid | domain_keyword : did = domain : did | domain_keyword : kid = keyword : kid | publication : cid = conference : cid | publication : jid = journal : jid | domain_publication : did = domain : did | domain_publication : pid = publication : pid | publication_keyword : kid = keyword : kid | publication_keyword : pid = publication : pid | writes : aid = author : aid | writes : pid = publication : pid | cite : citing = publication : pid | cite : cited = publication : pid |