db_id
stringclasses
140 values
input
stringlengths
191
7.13k
output
stringlengths
19
578
tracking_orders
Tables: Customers, Invoices, Orders, Products, Order_Items, Shipments, Shipment_Items Columns: Customers.customer_id, Customers.customer_name, Customers.customer_details, Invoices.invoice_number, Invoices.invoice_date, Invoices.invoice_details, Orders.order_id, Orders.customer_id, Orders.order_status, Orders.date_order...
SELECT T1.customer_id FROM customers AS T1 JOIN orders AS T2 ON T1.customer_id = T2.customer_id GROUP BY T1.customer_id ORDER BY count(*) DESC LIMIT 1;
tracking_orders
Tables: Customers, Invoices, Orders, Products, Order_Items, Shipments, Shipment_Items Columns: Customers.customer_id, Customers.customer_name, Customers.customer_details, Invoices.invoice_number, Invoices.invoice_date, Invoices.invoice_details, Orders.order_id, Orders.customer_id, Orders.order_status, Orders.date_order...
SELECT T2.order_id , T2.order_status FROM customers AS T1 JOIN orders AS T2 ON T1.customer_id = T2.customer_id WHERE T1.customer_name = "Jeramie";
tracking_orders
Tables: Customers, Invoices, Orders, Products, Order_Items, Shipments, Shipment_Items Columns: Customers.customer_id, Customers.customer_name, Customers.customer_details, Invoices.invoice_number, Invoices.invoice_date, Invoices.invoice_details, Orders.order_id, Orders.customer_id, Orders.order_status, Orders.date_order...
SELECT T2.order_id , T2.order_status FROM customers AS T1 JOIN orders AS T2 ON T1.customer_id = T2.customer_id WHERE T1.customer_name = "Jeramie";
tracking_orders
Tables: Customers, Invoices, Orders, Products, Order_Items, Shipments, Shipment_Items Columns: Customers.customer_id, Customers.customer_name, Customers.customer_details, Invoices.invoice_number, Invoices.invoice_date, Invoices.invoice_details, Orders.order_id, Orders.customer_id, Orders.order_status, Orders.date_order...
SELECT T2.date_order_placed FROM customers AS T1 JOIN orders AS T2 ON T1.customer_id = T2.customer_id WHERE T1.customer_name = "Jeramie";
tracking_orders
Tables: Customers, Invoices, Orders, Products, Order_Items, Shipments, Shipment_Items Columns: Customers.customer_id, Customers.customer_name, Customers.customer_details, Invoices.invoice_number, Invoices.invoice_date, Invoices.invoice_details, Orders.order_id, Orders.customer_id, Orders.order_status, Orders.date_order...
SELECT T2.date_order_placed FROM customers AS T1 JOIN orders AS T2 ON T1.customer_id = T2.customer_id WHERE T1.customer_name = "Jeramie";
tracking_orders
Tables: Customers, Invoices, Orders, Products, Order_Items, Shipments, Shipment_Items Columns: Customers.customer_id, Customers.customer_name, Customers.customer_details, Invoices.invoice_number, Invoices.invoice_date, Invoices.invoice_details, Orders.order_id, Orders.customer_id, Orders.order_status, Orders.date_order...
SELECT T1.customer_name FROM customers AS T1 JOIN orders AS T2 ON T1.customer_id = T2.customer_id WHERE T2.date_order_placed >= "2009-01-01" AND T2.date_order_placed <= "2010-01-01";
tracking_orders
Tables: Customers, Invoices, Orders, Products, Order_Items, Shipments, Shipment_Items Columns: Customers.customer_id, Customers.customer_name, Customers.customer_details, Invoices.invoice_number, Invoices.invoice_date, Invoices.invoice_details, Orders.order_id, Orders.customer_id, Orders.order_status, Orders.date_order...
SELECT T1.customer_name FROM customers AS T1 JOIN orders AS T2 ON T1.customer_id = T2.customer_id WHERE T2.date_order_placed >= "2009-01-01" AND T2.date_order_placed <= "2010-01-01";
tracking_orders
Tables: Customers, Invoices, Orders, Products, Order_Items, Shipments, Shipment_Items Columns: Customers.customer_id, Customers.customer_name, Customers.customer_details, Invoices.invoice_number, Invoices.invoice_date, Invoices.invoice_details, Orders.order_id, Orders.customer_id, Orders.order_status, Orders.date_order...
SELECT DISTINCT T2.product_id FROM orders AS T1 JOIN order_items AS T2 ON T1.order_id = T2.order_id WHERE T1.date_order_placed >= "1975-01-01" AND T1.date_order_placed <= "1976-01-01";
tracking_orders
Tables: Customers, Invoices, Orders, Products, Order_Items, Shipments, Shipment_Items Columns: Customers.customer_id, Customers.customer_name, Customers.customer_details, Invoices.invoice_number, Invoices.invoice_date, Invoices.invoice_details, Orders.order_id, Orders.customer_id, Orders.order_status, Orders.date_order...
SELECT DISTINCT T2.product_id FROM orders AS T1 JOIN order_items AS T2 ON T1.order_id = T2.order_id WHERE T1.date_order_placed >= "1975-01-01" AND T1.date_order_placed <= "1976-01-01";
tracking_orders
Tables: Customers, Invoices, Orders, Products, Order_Items, Shipments, Shipment_Items Columns: Customers.customer_id, Customers.customer_name, Customers.customer_details, Invoices.invoice_number, Invoices.invoice_date, Invoices.invoice_details, Orders.order_id, Orders.customer_id, Orders.order_status, Orders.date_order...
SELECT T1.customer_name FROM customers AS T1 JOIN orders AS T2 ON T1.customer_id = T2.customer_id WHERE T2.order_status = "On Road" INTERSECT SELECT T1.customer_name FROM customers AS T1 JOIN orders AS T2 ON T1.customer_id = T2.customer_id WHERE T2.order_status = "Shipped";
tracking_orders
Tables: Customers, Invoices, Orders, Products, Order_Items, Shipments, Shipment_Items Columns: Customers.customer_id, Customers.customer_name, Customers.customer_details, Invoices.invoice_number, Invoices.invoice_date, Invoices.invoice_details, Orders.order_id, Orders.customer_id, Orders.order_status, Orders.date_order...
SELECT T1.customer_name FROM customers AS T1 JOIN orders AS T2 ON T1.customer_id = T2.customer_id WHERE T2.order_status = "On Road" INTERSECT SELECT T1.customer_name FROM customers AS T1 JOIN orders AS T2 ON T1.customer_id = T2.customer_id WHERE T2.order_status = "Shipped";
tracking_orders
Tables: Customers, Invoices, Orders, Products, Order_Items, Shipments, Shipment_Items Columns: Customers.customer_id, Customers.customer_name, Customers.customer_details, Invoices.invoice_number, Invoices.invoice_date, Invoices.invoice_details, Orders.order_id, Orders.customer_id, Orders.order_status, Orders.date_order...
SELECT T1.customer_id FROM customers AS T1 JOIN orders AS T2 ON T1.customer_id = T2.customer_id WHERE T2.order_status = "On Road" INTERSECT SELECT T1.customer_id FROM customers AS T1 JOIN orders AS T2 ON T1.customer_id = T2.customer_id WHERE T2.order_status = "Shipped";
tracking_orders
Tables: Customers, Invoices, Orders, Products, Order_Items, Shipments, Shipment_Items Columns: Customers.customer_id, Customers.customer_name, Customers.customer_details, Invoices.invoice_number, Invoices.invoice_date, Invoices.invoice_details, Orders.order_id, Orders.customer_id, Orders.order_status, Orders.date_order...
SELECT T1.customer_id FROM customers AS T1 JOIN orders AS T2 ON T1.customer_id = T2.customer_id WHERE T2.order_status = "On Road" INTERSECT SELECT T1.customer_id FROM customers AS T1 JOIN orders AS T2 ON T1.customer_id = T2.customer_id WHERE T2.order_status = "Shipped";
tracking_orders
Tables: Customers, Invoices, Orders, Products, Order_Items, Shipments, Shipment_Items Columns: Customers.customer_id, Customers.customer_name, Customers.customer_details, Invoices.invoice_number, Invoices.invoice_date, Invoices.invoice_details, Orders.order_id, Orders.customer_id, Orders.order_status, Orders.date_order...
SELECT T1.date_order_placed FROM orders AS T1 JOIN shipments AS T2 ON T1.order_id = T2.order_id WHERE T2.shipment_tracking_number = 3452;
tracking_orders
Tables: Customers, Invoices, Orders, Products, Order_Items, Shipments, Shipment_Items Columns: Customers.customer_id, Customers.customer_name, Customers.customer_details, Invoices.invoice_number, Invoices.invoice_date, Invoices.invoice_details, Orders.order_id, Orders.customer_id, Orders.order_status, Orders.date_order...
SELECT T1.date_order_placed FROM orders AS T1 JOIN shipments AS T2 ON T1.order_id = T2.order_id WHERE T2.shipment_tracking_number = 3452;
tracking_orders
Tables: Customers, Invoices, Orders, Products, Order_Items, Shipments, Shipment_Items Columns: Customers.customer_id, Customers.customer_name, Customers.customer_details, Invoices.invoice_number, Invoices.invoice_date, Invoices.invoice_details, Orders.order_id, Orders.customer_id, Orders.order_status, Orders.date_order...
SELECT T1.date_order_placed FROM orders AS T1 JOIN shipments AS T2 ON T1.order_id = T2.order_id WHERE T2.invoice_number = 10;
tracking_orders
Tables: Customers, Invoices, Orders, Products, Order_Items, Shipments, Shipment_Items Columns: Customers.customer_id, Customers.customer_name, Customers.customer_details, Invoices.invoice_number, Invoices.invoice_date, Invoices.invoice_details, Orders.order_id, Orders.customer_id, Orders.order_status, Orders.date_order...
SELECT T1.date_order_placed FROM orders AS T1 JOIN shipments AS T2 ON T1.order_id = T2.order_id WHERE T2.invoice_number = 10;
tracking_orders
Tables: Customers, Invoices, Orders, Products, Order_Items, Shipments, Shipment_Items Columns: Customers.customer_id, Customers.customer_name, Customers.customer_details, Invoices.invoice_number, Invoices.invoice_date, Invoices.invoice_details, Orders.order_id, Orders.customer_id, Orders.order_status, Orders.date_order...
SELECT count(*) , T3.product_id FROM orders AS T1 JOIN order_items AS T2 JOIN products AS T3 ON T1.order_id = T2.order_id AND T2.product_id = T3.product_id GROUP BY T3.product_id;
tracking_orders
Tables: Customers, Invoices, Orders, Products, Order_Items, Shipments, Shipment_Items Columns: Customers.customer_id, Customers.customer_name, Customers.customer_details, Invoices.invoice_number, Invoices.invoice_date, Invoices.invoice_details, Orders.order_id, Orders.customer_id, Orders.order_status, Orders.date_order...
SELECT count(*) , T3.product_id FROM orders AS T1 JOIN order_items AS T2 JOIN products AS T3 ON T1.order_id = T2.order_id AND T2.product_id = T3.product_id GROUP BY T3.product_id;
tracking_orders
Tables: Customers, Invoices, Orders, Products, Order_Items, Shipments, Shipment_Items Columns: Customers.customer_id, Customers.customer_name, Customers.customer_details, Invoices.invoice_number, Invoices.invoice_date, Invoices.invoice_details, Orders.order_id, Orders.customer_id, Orders.order_status, Orders.date_order...
SELECT T3.product_name , count(*) FROM orders AS T1 JOIN order_items AS T2 JOIN products AS T3 ON T1.order_id = T2.order_id AND T2.product_id = T3.product_id GROUP BY T3.product_id;
tracking_orders
Tables: Customers, Invoices, Orders, Products, Order_Items, Shipments, Shipment_Items Columns: Customers.customer_id, Customers.customer_name, Customers.customer_details, Invoices.invoice_number, Invoices.invoice_date, Invoices.invoice_details, Orders.order_id, Orders.customer_id, Orders.order_status, Orders.date_order...
SELECT T3.product_name , count(*) FROM orders AS T1 JOIN order_items AS T2 JOIN products AS T3 ON T1.order_id = T2.order_id AND T2.product_id = T3.product_id GROUP BY T3.product_id;
tracking_orders
Tables: Customers, Invoices, Orders, Products, Order_Items, Shipments, Shipment_Items Columns: Customers.customer_id, Customers.customer_name, Customers.customer_details, Invoices.invoice_number, Invoices.invoice_date, Invoices.invoice_details, Orders.order_id, Orders.customer_id, Orders.order_status, Orders.date_order...
SELECT order_id FROM shipments WHERE shipment_date > "2000-01-01";
tracking_orders
Tables: Customers, Invoices, Orders, Products, Order_Items, Shipments, Shipment_Items Columns: Customers.customer_id, Customers.customer_name, Customers.customer_details, Invoices.invoice_number, Invoices.invoice_date, Invoices.invoice_details, Orders.order_id, Orders.customer_id, Orders.order_status, Orders.date_order...
SELECT order_id FROM shipments WHERE shipment_date > "2000-01-01";
tracking_orders
Tables: Customers, Invoices, Orders, Products, Order_Items, Shipments, Shipment_Items Columns: Customers.customer_id, Customers.customer_name, Customers.customer_details, Invoices.invoice_number, Invoices.invoice_date, Invoices.invoice_details, Orders.order_id, Orders.customer_id, Orders.order_status, Orders.date_order...
SELECT order_id FROM shipments WHERE shipment_date = (SELECT max(shipment_date) FROM shipments);
tracking_orders
Tables: Customers, Invoices, Orders, Products, Order_Items, Shipments, Shipment_Items Columns: Customers.customer_id, Customers.customer_name, Customers.customer_details, Invoices.invoice_number, Invoices.invoice_date, Invoices.invoice_details, Orders.order_id, Orders.customer_id, Orders.order_status, Orders.date_order...
SELECT order_id FROM shipments WHERE shipment_date = (SELECT max(shipment_date) FROM shipments);
tracking_orders
Tables: Customers, Invoices, Orders, Products, Order_Items, Shipments, Shipment_Items Columns: Customers.customer_id, Customers.customer_name, Customers.customer_details, Invoices.invoice_number, Invoices.invoice_date, Invoices.invoice_details, Orders.order_id, Orders.customer_id, Orders.order_status, Orders.date_order...
SELECT DISTINCT product_name FROM products ORDER BY product_name;
tracking_orders
Tables: Customers, Invoices, Orders, Products, Order_Items, Shipments, Shipment_Items Columns: Customers.customer_id, Customers.customer_name, Customers.customer_details, Invoices.invoice_number, Invoices.invoice_date, Invoices.invoice_details, Orders.order_id, Orders.customer_id, Orders.order_status, Orders.date_order...
SELECT DISTINCT product_name FROM products ORDER BY product_name;
tracking_orders
Tables: Customers, Invoices, Orders, Products, Order_Items, Shipments, Shipment_Items Columns: Customers.customer_id, Customers.customer_name, Customers.customer_details, Invoices.invoice_number, Invoices.invoice_date, Invoices.invoice_details, Orders.order_id, Orders.customer_id, Orders.order_status, Orders.date_order...
SELECT DISTINCT order_id FROM orders ORDER BY date_order_placed;
tracking_orders
Tables: Customers, Invoices, Orders, Products, Order_Items, Shipments, Shipment_Items Columns: Customers.customer_id, Customers.customer_name, Customers.customer_details, Invoices.invoice_number, Invoices.invoice_date, Invoices.invoice_details, Orders.order_id, Orders.customer_id, Orders.order_status, Orders.date_order...
SELECT DISTINCT order_id FROM orders ORDER BY date_order_placed;
tracking_orders
Tables: Customers, Invoices, Orders, Products, Order_Items, Shipments, Shipment_Items Columns: Customers.customer_id, Customers.customer_name, Customers.customer_details, Invoices.invoice_number, Invoices.invoice_date, Invoices.invoice_details, Orders.order_id, Orders.customer_id, Orders.order_status, Orders.date_order...
SELECT T1.order_id FROM orders AS T1 JOIN order_items AS T2 ON T1.order_id = T2.order_id GROUP BY T1.order_id ORDER BY count(*) DESC LIMIT 1;
tracking_orders
Tables: Customers, Invoices, Orders, Products, Order_Items, Shipments, Shipment_Items Columns: Customers.customer_id, Customers.customer_name, Customers.customer_details, Invoices.invoice_number, Invoices.invoice_date, Invoices.invoice_details, Orders.order_id, Orders.customer_id, Orders.order_status, Orders.date_order...
SELECT T1.order_id FROM orders AS T1 JOIN order_items AS T2 ON T1.order_id = T2.order_id GROUP BY T1.order_id ORDER BY count(*) DESC LIMIT 1;
tracking_orders
Tables: Customers, Invoices, Orders, Products, Order_Items, Shipments, Shipment_Items Columns: Customers.customer_id, Customers.customer_name, Customers.customer_details, Invoices.invoice_number, Invoices.invoice_date, Invoices.invoice_details, Orders.order_id, Orders.customer_id, Orders.order_status, Orders.date_order...
SELECT T1.customer_name FROM customers AS T1 JOIN orders AS T2 ON T1.customer_id = T2.customer_id GROUP BY T1.customer_id ORDER BY count(*) DESC LIMIT 1;
tracking_orders
Tables: Customers, Invoices, Orders, Products, Order_Items, Shipments, Shipment_Items Columns: Customers.customer_id, Customers.customer_name, Customers.customer_details, Invoices.invoice_number, Invoices.invoice_date, Invoices.invoice_details, Orders.order_id, Orders.customer_id, Orders.order_status, Orders.date_order...
SELECT T1.customer_name FROM customers AS T1 JOIN orders AS T2 ON T1.customer_id = T2.customer_id GROUP BY T1.customer_id ORDER BY count(*) DESC LIMIT 1;
tracking_orders
Tables: Customers, Invoices, Orders, Products, Order_Items, Shipments, Shipment_Items Columns: Customers.customer_id, Customers.customer_name, Customers.customer_details, Invoices.invoice_number, Invoices.invoice_date, Invoices.invoice_details, Orders.order_id, Orders.customer_id, Orders.order_status, Orders.date_order...
SELECT invoice_number FROM invoices WHERE invoice_date < "1989-09-03" OR invoice_date > "2007-12-25";
tracking_orders
Tables: Customers, Invoices, Orders, Products, Order_Items, Shipments, Shipment_Items Columns: Customers.customer_id, Customers.customer_name, Customers.customer_details, Invoices.invoice_number, Invoices.invoice_date, Invoices.invoice_details, Orders.order_id, Orders.customer_id, Orders.order_status, Orders.date_order...
SELECT invoice_number FROM invoices WHERE invoice_date < "1989-09-03" OR invoice_date > "2007-12-25";
tracking_orders
Tables: Customers, Invoices, Orders, Products, Order_Items, Shipments, Shipment_Items Columns: Customers.customer_id, Customers.customer_name, Customers.customer_details, Invoices.invoice_number, Invoices.invoice_date, Invoices.invoice_details, Orders.order_id, Orders.customer_id, Orders.order_status, Orders.date_order...
SELECT DISTINCT invoice_details FROM invoices WHERE invoice_date < "1989-09-03" OR invoice_date > "2007-12-25";
tracking_orders
Tables: Customers, Invoices, Orders, Products, Order_Items, Shipments, Shipment_Items Columns: Customers.customer_id, Customers.customer_name, Customers.customer_details, Invoices.invoice_number, Invoices.invoice_date, Invoices.invoice_details, Orders.order_id, Orders.customer_id, Orders.order_status, Orders.date_order...
SELECT DISTINCT invoice_details FROM invoices WHERE invoice_date < "1989-09-03" OR invoice_date > "2007-12-25";
tracking_orders
Tables: Customers, Invoices, Orders, Products, Order_Items, Shipments, Shipment_Items Columns: Customers.customer_id, Customers.customer_name, Customers.customer_details, Invoices.invoice_number, Invoices.invoice_date, Invoices.invoice_details, Orders.order_id, Orders.customer_id, Orders.order_status, Orders.date_order...
SELECT T2.customer_name , count(*) FROM orders AS T1 JOIN customers AS T2 ON T1.customer_id = T2.customer_id GROUP BY T2.customer_id HAVING count(*) >= 2;
tracking_orders
Tables: Customers, Invoices, Orders, Products, Order_Items, Shipments, Shipment_Items Columns: Customers.customer_id, Customers.customer_name, Customers.customer_details, Invoices.invoice_number, Invoices.invoice_date, Invoices.invoice_details, Orders.order_id, Orders.customer_id, Orders.order_status, Orders.date_order...
SELECT T2.customer_name , count(*) FROM orders AS T1 JOIN customers AS T2 ON T1.customer_id = T2.customer_id GROUP BY T2.customer_id HAVING count(*) >= 2;
tracking_orders
Tables: Customers, Invoices, Orders, Products, Order_Items, Shipments, Shipment_Items Columns: Customers.customer_id, Customers.customer_name, Customers.customer_details, Invoices.invoice_number, Invoices.invoice_date, Invoices.invoice_details, Orders.order_id, Orders.customer_id, Orders.order_status, Orders.date_order...
SELECT T2.customer_name FROM orders AS T1 JOIN customers AS T2 ON T1.customer_id = T2.customer_id GROUP BY T2.customer_id HAVING count(*) <= 2;
tracking_orders
Tables: Customers, Invoices, Orders, Products, Order_Items, Shipments, Shipment_Items Columns: Customers.customer_id, Customers.customer_name, Customers.customer_details, Invoices.invoice_number, Invoices.invoice_date, Invoices.invoice_details, Orders.order_id, Orders.customer_id, Orders.order_status, Orders.date_order...
SELECT T2.customer_name FROM orders AS T1 JOIN customers AS T2 ON T1.customer_id = T2.customer_id GROUP BY T2.customer_id HAVING count(*) <= 2;
tracking_orders
Tables: Customers, Invoices, Orders, Products, Order_Items, Shipments, Shipment_Items Columns: Customers.customer_id, Customers.customer_name, Customers.customer_details, Invoices.invoice_number, Invoices.invoice_date, Invoices.invoice_details, Orders.order_id, Orders.customer_id, Orders.order_status, Orders.date_order...
SELECT T1.customer_name FROM customers AS T1 JOIN orders AS T2 JOIN order_items AS T3 JOIN products AS T4 ON T1.customer_id = T2.customer_id AND T2.order_id = T3.order_id AND T3.product_id = T4.product_id WHERE T4.product_name = "food" GROUP BY T1.customer_id HAVING count(*) >= 1;
tracking_orders
Tables: Customers, Invoices, Orders, Products, Order_Items, Shipments, Shipment_Items Columns: Customers.customer_id, Customers.customer_name, Customers.customer_details, Invoices.invoice_number, Invoices.invoice_date, Invoices.invoice_details, Orders.order_id, Orders.customer_id, Orders.order_status, Orders.date_order...
SELECT T1.customer_name FROM customers AS T1 JOIN orders AS T2 JOIN order_items AS T3 JOIN products AS T4 ON T1.customer_id = T2.customer_id AND T2.order_id = T3.order_id AND T3.product_id = T4.product_id WHERE T4.product_name = "food" GROUP BY T1.customer_id HAVING count(*) >= 1;
tracking_orders
Tables: Customers, Invoices, Orders, Products, Order_Items, Shipments, Shipment_Items Columns: Customers.customer_id, Customers.customer_name, Customers.customer_details, Invoices.invoice_number, Invoices.invoice_date, Invoices.invoice_details, Orders.order_id, Orders.customer_id, Orders.order_status, Orders.date_order...
SELECT T1.customer_name FROM customers AS T1 JOIN orders AS T2 JOIN order_items AS T3 JOIN products AS T4 ON T1.customer_id = T2.customer_id AND T2.order_id = T3.order_id AND T3.product_id = T4.product_id WHERE T3.order_item_status = "Cancel" AND T4.product_name = "food" GROUP BY T1.customer_id HAVING count(*) >= 1;
tracking_orders
Tables: Customers, Invoices, Orders, Products, Order_Items, Shipments, Shipment_Items Columns: Customers.customer_id, Customers.customer_name, Customers.customer_details, Invoices.invoice_number, Invoices.invoice_date, Invoices.invoice_details, Orders.order_id, Orders.customer_id, Orders.order_status, Orders.date_order...
SELECT T1.customer_name FROM customers AS T1 JOIN orders AS T2 JOIN order_items AS T3 JOIN products AS T4 ON T1.customer_id = T2.customer_id AND T2.order_id = T3.order_id AND T3.product_id = T4.product_id WHERE T3.order_item_status = "Cancel" AND T4.product_name = "food" GROUP BY T1.customer_id HAVING count(*) >= 1;
architecture
Tables: architect, bridge, mill Columns: architect.id, architect.name, architect.nationality, architect.gender, bridge.architect_id, bridge.id, bridge.name, bridge.location, bridge.length_meters, bridge.length_feet, mill.architect_id, mill.id, mill.location, mill.name, mill.type, mill.built_year, mill.notes Question: H...
SELECT count(*) FROM architect WHERE gender = 'female';
architecture
Tables: architect, bridge, mill Columns: architect.id, architect.name, architect.nationality, architect.gender, bridge.architect_id, bridge.id, bridge.name, bridge.location, bridge.length_meters, bridge.length_feet, mill.architect_id, mill.id, mill.location, mill.name, mill.type, mill.built_year, mill.notes Question: L...
SELECT name , nationality , id FROM architect WHERE gender = 'male' ORDER BY name;
architecture
Tables: architect, bridge, mill Columns: architect.id, architect.name, architect.nationality, architect.gender, bridge.architect_id, bridge.id, bridge.name, bridge.location, bridge.length_meters, bridge.length_feet, mill.architect_id, mill.id, mill.location, mill.name, mill.type, mill.built_year, mill.notes Question: W...
SELECT max(T1.length_meters) , T2.name FROM bridge AS T1 JOIN architect AS T2 ON T1.architect_id = T2.id;
architecture
Tables: architect, bridge, mill Columns: architect.id, architect.name, architect.nationality, architect.gender, bridge.architect_id, bridge.id, bridge.name, bridge.location, bridge.length_meters, bridge.length_feet, mill.architect_id, mill.id, mill.location, mill.name, mill.type, mill.built_year, mill.notes Question: W...
SELECT avg(length_feet) FROM bridge;
architecture
Tables: architect, bridge, mill Columns: architect.id, architect.name, architect.nationality, architect.gender, bridge.architect_id, bridge.id, bridge.name, bridge.location, bridge.length_meters, bridge.length_feet, mill.architect_id, mill.id, mill.location, mill.name, mill.type, mill.built_year, mill.notes Question: W...
SELECT name , built_year FROM mill WHERE TYPE = 'Grondzeiler';
architecture
Tables: architect, bridge, mill Columns: architect.id, architect.name, architect.nationality, architect.gender, bridge.architect_id, bridge.id, bridge.name, bridge.location, bridge.length_meters, bridge.length_feet, mill.architect_id, mill.id, mill.location, mill.name, mill.type, mill.built_year, mill.notes Question: W...
SELECT DISTINCT T1.name , T1.nationality FROM architect AS T1 JOIN mill AS t2 ON T1.id = T2.architect_id;
architecture
Tables: architect, bridge, mill Columns: architect.id, architect.name, architect.nationality, architect.gender, bridge.architect_id, bridge.id, bridge.name, bridge.location, bridge.length_meters, bridge.length_feet, mill.architect_id, mill.id, mill.location, mill.name, mill.type, mill.built_year, mill.notes Question: W...
SELECT name FROM mill WHERE LOCATION != 'Donceel';
architecture
Tables: architect, bridge, mill Columns: architect.id, architect.name, architect.nationality, architect.gender, bridge.architect_id, bridge.id, bridge.name, bridge.location, bridge.length_meters, bridge.length_feet, mill.architect_id, mill.id, mill.location, mill.name, mill.type, mill.built_year, mill.notes Question: W...
SELECT DISTINCT T1.type FROM mill AS T1 JOIN architect AS t2 ON T1.architect_id = T2.id WHERE T2.nationality = 'American' OR T2.nationality = 'Canadian';
architecture
Tables: architect, bridge, mill Columns: architect.id, architect.name, architect.nationality, architect.gender, bridge.architect_id, bridge.id, bridge.name, bridge.location, bridge.length_meters, bridge.length_feet, mill.architect_id, mill.id, mill.location, mill.name, mill.type, mill.built_year, mill.notes Question: W...
SELECT T1.id , T1.name FROM architect AS T1 JOIN bridge AS T2 ON T1.id = T2.architect_id GROUP BY T1.id HAVING count(*) >= 3;
architecture
Tables: architect, bridge, mill Columns: architect.id, architect.name, architect.nationality, architect.gender, bridge.architect_id, bridge.id, bridge.name, bridge.location, bridge.length_meters, bridge.length_feet, mill.architect_id, mill.id, mill.location, mill.name, mill.type, mill.built_year, mill.notes Question: W...
SELECT T1.id , T1.name , T1.nationality FROM architect AS T1 JOIN mill AS T2 ON T1.id = T2.architect_id GROUP BY T1.id ORDER BY count(*) DESC LIMIT 1;
architecture
Tables: architect, bridge, mill Columns: architect.id, architect.name, architect.nationality, architect.gender, bridge.architect_id, bridge.id, bridge.name, bridge.location, bridge.length_meters, bridge.length_feet, mill.architect_id, mill.id, mill.location, mill.name, mill.type, mill.built_year, mill.notes Question: W...
SELECT T1.id , T1.name , T1.gender FROM architect AS T1 JOIN bridge AS T2 ON T1.id = T2.architect_id GROUP BY T1.id HAVING count(*) = 2 UNION SELECT T1.id , T1.name , T1.gender FROM architect AS T1 JOIN mill AS T2 ON T1.id = T2.architect_id GROUP BY T1.id HAVING count(*) = 1;
architecture
Tables: architect, bridge, mill Columns: architect.id, architect.name, architect.nationality, architect.gender, bridge.architect_id, bridge.id, bridge.name, bridge.location, bridge.length_meters, bridge.length_feet, mill.architect_id, mill.id, mill.location, mill.name, mill.type, mill.built_year, mill.notes Question: W...
SELECT LOCATION FROM bridge WHERE name = 'Kolob Arch' OR name = 'Rainbow Bridge';
architecture
Tables: architect, bridge, mill Columns: architect.id, architect.name, architect.nationality, architect.gender, bridge.architect_id, bridge.id, bridge.name, bridge.location, bridge.length_meters, bridge.length_feet, mill.architect_id, mill.id, mill.location, mill.name, mill.type, mill.built_year, mill.notes Question: W...
SELECT name FROM mill WHERE name LIKE '%Moulin%';
architecture
Tables: architect, bridge, mill Columns: architect.id, architect.name, architect.nationality, architect.gender, bridge.architect_id, bridge.id, bridge.name, bridge.location, bridge.length_meters, bridge.length_feet, mill.architect_id, mill.id, mill.location, mill.name, mill.type, mill.built_year, mill.notes Question: W...
SELECT DISTINCT T1.name FROM mill AS T1 JOIN architect AS t2 ON T1.architect_id = T2.id JOIN bridge AS T3 ON T3.architect_id = T2.id WHERE T3.length_meters > 80;
architecture
Tables: architect, bridge, mill Columns: architect.id, architect.name, architect.nationality, architect.gender, bridge.architect_id, bridge.id, bridge.name, bridge.location, bridge.length_meters, bridge.length_feet, mill.architect_id, mill.id, mill.location, mill.name, mill.type, mill.built_year, mill.notes Question: W...
SELECT TYPE , count(*) FROM mill GROUP BY TYPE ORDER BY count(*) DESC LIMIT 1;
architecture
Tables: architect, bridge, mill Columns: architect.id, architect.name, architect.nationality, architect.gender, bridge.architect_id, bridge.id, bridge.name, bridge.location, bridge.length_meters, bridge.length_feet, mill.architect_id, mill.id, mill.location, mill.name, mill.type, mill.built_year, mill.notes Question: H...
SELECT count(*) FROM architect WHERE id NOT IN ( SELECT architect_id FROM mill WHERE built_year < 1850 );
architecture
Tables: architect, bridge, mill Columns: architect.id, architect.name, architect.nationality, architect.gender, bridge.architect_id, bridge.id, bridge.name, bridge.location, bridge.length_meters, bridge.length_feet, mill.architect_id, mill.id, mill.location, mill.name, mill.type, mill.built_year, mill.notes Question: s...
SELECT t1.name FROM bridge AS t1 JOIN architect AS t2 ON t1.architect_id = t2.id WHERE t2.nationality = 'American' ORDER BY t1.length_feet;
culture_company
Tables: book_club, movie, culture_company Columns: book_club.book_club_id, book_club.Year, book_club.Author_or_Editor, book_club.Book_Title, book_club.Publisher, book_club.Category, book_club.Result, movie.movie_id, movie.Title, movie.Year, movie.Director, movie.Budget_million, movie.Gross_worldwide, culture_company.Co...
SELECT count(*) FROM book_club;
culture_company
Tables: book_club, movie, culture_company Columns: book_club.book_club_id, book_club.Year, book_club.Author_or_Editor, book_club.Book_Title, book_club.Publisher, book_club.Category, book_club.Result, movie.movie_id, movie.Title, movie.Year, movie.Director, movie.Budget_million, movie.Gross_worldwide, culture_company.Co...
SELECT count(*) FROM book_club;
culture_company
Tables: book_club, movie, culture_company Columns: book_club.book_club_id, book_club.Year, book_club.Author_or_Editor, book_club.Book_Title, book_club.Publisher, book_club.Category, book_club.Result, movie.movie_id, movie.Title, movie.Year, movie.Director, movie.Budget_million, movie.Gross_worldwide, culture_company.Co...
SELECT book_title , author_or_editor FROM book_club WHERE YEAR > 1989;
culture_company
Tables: book_club, movie, culture_company Columns: book_club.book_club_id, book_club.Year, book_club.Author_or_Editor, book_club.Book_Title, book_club.Publisher, book_club.Category, book_club.Result, movie.movie_id, movie.Title, movie.Year, movie.Director, movie.Budget_million, movie.Gross_worldwide, culture_company.Co...
SELECT book_title , author_or_editor FROM book_club WHERE YEAR > 1989;
culture_company
Tables: book_club, movie, culture_company Columns: book_club.book_club_id, book_club.Year, book_club.Author_or_Editor, book_club.Book_Title, book_club.Publisher, book_club.Category, book_club.Result, movie.movie_id, movie.Title, movie.Year, movie.Director, movie.Budget_million, movie.Gross_worldwide, culture_company.Co...
SELECT DISTINCT publisher FROM book_club;
culture_company
Tables: book_club, movie, culture_company Columns: book_club.book_club_id, book_club.Year, book_club.Author_or_Editor, book_club.Book_Title, book_club.Publisher, book_club.Category, book_club.Result, movie.movie_id, movie.Title, movie.Year, movie.Director, movie.Budget_million, movie.Gross_worldwide, culture_company.Co...
SELECT DISTINCT publisher FROM book_club;
culture_company
Tables: book_club, movie, culture_company Columns: book_club.book_club_id, book_club.Year, book_club.Author_or_Editor, book_club.Book_Title, book_club.Publisher, book_club.Category, book_club.Result, movie.movie_id, movie.Title, movie.Year, movie.Director, movie.Budget_million, movie.Gross_worldwide, culture_company.Co...
SELECT YEAR , book_title , publisher FROM book_club ORDER BY YEAR DESC;
culture_company
Tables: book_club, movie, culture_company Columns: book_club.book_club_id, book_club.Year, book_club.Author_or_Editor, book_club.Book_Title, book_club.Publisher, book_club.Category, book_club.Result, movie.movie_id, movie.Title, movie.Year, movie.Director, movie.Budget_million, movie.Gross_worldwide, culture_company.Co...
SELECT YEAR , book_title , publisher FROM book_club ORDER BY YEAR DESC;
culture_company
Tables: book_club, movie, culture_company Columns: book_club.book_club_id, book_club.Year, book_club.Author_or_Editor, book_club.Book_Title, book_club.Publisher, book_club.Category, book_club.Result, movie.movie_id, movie.Title, movie.Year, movie.Director, movie.Budget_million, movie.Gross_worldwide, culture_company.Co...
SELECT publisher , count(*) FROM book_club GROUP BY publisher;
culture_company
Tables: book_club, movie, culture_company Columns: book_club.book_club_id, book_club.Year, book_club.Author_or_Editor, book_club.Book_Title, book_club.Publisher, book_club.Category, book_club.Result, movie.movie_id, movie.Title, movie.Year, movie.Director, movie.Budget_million, movie.Gross_worldwide, culture_company.Co...
SELECT publisher , count(*) FROM book_club GROUP BY publisher;
culture_company
Tables: book_club, movie, culture_company Columns: book_club.book_club_id, book_club.Year, book_club.Author_or_Editor, book_club.Book_Title, book_club.Publisher, book_club.Category, book_club.Result, movie.movie_id, movie.Title, movie.Year, movie.Director, movie.Budget_million, movie.Gross_worldwide, culture_company.Co...
SELECT publisher FROM book_club GROUP BY publisher ORDER BY count(*) DESC LIMIT 1;
culture_company
Tables: book_club, movie, culture_company Columns: book_club.book_club_id, book_club.Year, book_club.Author_or_Editor, book_club.Book_Title, book_club.Publisher, book_club.Category, book_club.Result, movie.movie_id, movie.Title, movie.Year, movie.Director, movie.Budget_million, movie.Gross_worldwide, culture_company.Co...
SELECT publisher FROM book_club GROUP BY publisher ORDER BY count(*) DESC LIMIT 1;
culture_company
Tables: book_club, movie, culture_company Columns: book_club.book_club_id, book_club.Year, book_club.Author_or_Editor, book_club.Book_Title, book_club.Publisher, book_club.Category, book_club.Result, movie.movie_id, movie.Title, movie.Year, movie.Director, movie.Budget_million, movie.Gross_worldwide, culture_company.Co...
SELECT category , count(*) FROM book_club GROUP BY category;
culture_company
Tables: book_club, movie, culture_company Columns: book_club.book_club_id, book_club.Year, book_club.Author_or_Editor, book_club.Book_Title, book_club.Publisher, book_club.Category, book_club.Result, movie.movie_id, movie.Title, movie.Year, movie.Director, movie.Budget_million, movie.Gross_worldwide, culture_company.Co...
SELECT category , count(*) FROM book_club GROUP BY category;
culture_company
Tables: book_club, movie, culture_company Columns: book_club.book_club_id, book_club.Year, book_club.Author_or_Editor, book_club.Book_Title, book_club.Publisher, book_club.Category, book_club.Result, movie.movie_id, movie.Title, movie.Year, movie.Director, movie.Budget_million, movie.Gross_worldwide, culture_company.Co...
SELECT category FROM book_club WHERE YEAR > 1989 GROUP BY category HAVING count(*) >= 2;
culture_company
Tables: book_club, movie, culture_company Columns: book_club.book_club_id, book_club.Year, book_club.Author_or_Editor, book_club.Book_Title, book_club.Publisher, book_club.Category, book_club.Result, movie.movie_id, movie.Title, movie.Year, movie.Director, movie.Budget_million, movie.Gross_worldwide, culture_company.Co...
SELECT category FROM book_club WHERE YEAR > 1989 GROUP BY category HAVING count(*) >= 2;
culture_company
Tables: book_club, movie, culture_company Columns: book_club.book_club_id, book_club.Year, book_club.Author_or_Editor, book_club.Book_Title, book_club.Publisher, book_club.Category, book_club.Result, movie.movie_id, movie.Title, movie.Year, movie.Director, movie.Budget_million, movie.Gross_worldwide, culture_company.Co...
SELECT publisher FROM book_club WHERE YEAR = 1989 INTERSECT SELECT publisher FROM book_club WHERE YEAR = 1990;
culture_company
Tables: book_club, movie, culture_company Columns: book_club.book_club_id, book_club.Year, book_club.Author_or_Editor, book_club.Book_Title, book_club.Publisher, book_club.Category, book_club.Result, movie.movie_id, movie.Title, movie.Year, movie.Director, movie.Budget_million, movie.Gross_worldwide, culture_company.Co...
SELECT publisher FROM book_club WHERE YEAR = 1989 INTERSECT SELECT publisher FROM book_club WHERE YEAR = 1990;
culture_company
Tables: book_club, movie, culture_company Columns: book_club.book_club_id, book_club.Year, book_club.Author_or_Editor, book_club.Book_Title, book_club.Publisher, book_club.Category, book_club.Result, movie.movie_id, movie.Title, movie.Year, movie.Director, movie.Budget_million, movie.Gross_worldwide, culture_company.Co...
SELECT publisher FROM book_club EXCEPT SELECT publisher FROM book_club WHERE YEAR = 1989;
culture_company
Tables: book_club, movie, culture_company Columns: book_club.book_club_id, book_club.Year, book_club.Author_or_Editor, book_club.Book_Title, book_club.Publisher, book_club.Category, book_club.Result, movie.movie_id, movie.Title, movie.Year, movie.Director, movie.Budget_million, movie.Gross_worldwide, culture_company.Co...
SELECT publisher FROM book_club EXCEPT SELECT publisher FROM book_club WHERE YEAR = 1989;
culture_company
Tables: book_club, movie, culture_company Columns: book_club.book_club_id, book_club.Year, book_club.Author_or_Editor, book_club.Book_Title, book_club.Publisher, book_club.Category, book_club.Result, movie.movie_id, movie.Title, movie.Year, movie.Director, movie.Budget_million, movie.Gross_worldwide, culture_company.Co...
SELECT title , YEAR , director FROM movie ORDER BY budget_million;
culture_company
Tables: book_club, movie, culture_company Columns: book_club.book_club_id, book_club.Year, book_club.Author_or_Editor, book_club.Book_Title, book_club.Publisher, book_club.Category, book_club.Result, movie.movie_id, movie.Title, movie.Year, movie.Director, movie.Budget_million, movie.Gross_worldwide, culture_company.Co...
SELECT title , YEAR , director FROM movie ORDER BY budget_million;
culture_company
Tables: book_club, movie, culture_company Columns: book_club.book_club_id, book_club.Year, book_club.Author_or_Editor, book_club.Book_Title, book_club.Publisher, book_club.Category, book_club.Result, movie.movie_id, movie.Title, movie.Year, movie.Director, movie.Budget_million, movie.Gross_worldwide, culture_company.Co...
SELECT COUNT (DISTINCT director) FROM movie;
culture_company
Tables: book_club, movie, culture_company Columns: book_club.book_club_id, book_club.Year, book_club.Author_or_Editor, book_club.Book_Title, book_club.Publisher, book_club.Category, book_club.Result, movie.movie_id, movie.Title, movie.Year, movie.Director, movie.Budget_million, movie.Gross_worldwide, culture_company.Co...
SELECT COUNT (DISTINCT director) FROM movie;
culture_company
Tables: book_club, movie, culture_company Columns: book_club.book_club_id, book_club.Year, book_club.Author_or_Editor, book_club.Book_Title, book_club.Publisher, book_club.Category, book_club.Result, movie.movie_id, movie.Title, movie.Year, movie.Director, movie.Budget_million, movie.Gross_worldwide, culture_company.Co...
SELECT title , director FROM movie WHERE YEAR <= 2000 ORDER BY gross_worldwide DESC LIMIT 1;
culture_company
Tables: book_club, movie, culture_company Columns: book_club.book_club_id, book_club.Year, book_club.Author_or_Editor, book_club.Book_Title, book_club.Publisher, book_club.Category, book_club.Result, movie.movie_id, movie.Title, movie.Year, movie.Director, movie.Budget_million, movie.Gross_worldwide, culture_company.Co...
SELECT title , director FROM movie WHERE YEAR <= 2000 ORDER BY gross_worldwide DESC LIMIT 1;
culture_company
Tables: book_club, movie, culture_company Columns: book_club.book_club_id, book_club.Year, book_club.Author_or_Editor, book_club.Book_Title, book_club.Publisher, book_club.Category, book_club.Result, movie.movie_id, movie.Title, movie.Year, movie.Director, movie.Budget_million, movie.Gross_worldwide, culture_company.Co...
SELECT director FROM movie WHERE YEAR = 2000 INTERSECT SELECT director FROM movie WHERE YEAR = 1999;
culture_company
Tables: book_club, movie, culture_company Columns: book_club.book_club_id, book_club.Year, book_club.Author_or_Editor, book_club.Book_Title, book_club.Publisher, book_club.Category, book_club.Result, movie.movie_id, movie.Title, movie.Year, movie.Director, movie.Budget_million, movie.Gross_worldwide, culture_company.Co...
SELECT director FROM movie WHERE YEAR = 2000 INTERSECT SELECT director FROM movie WHERE YEAR = 1999;
culture_company
Tables: book_club, movie, culture_company Columns: book_club.book_club_id, book_club.Year, book_club.Author_or_Editor, book_club.Book_Title, book_club.Publisher, book_club.Category, book_club.Result, movie.movie_id, movie.Title, movie.Year, movie.Director, movie.Budget_million, movie.Gross_worldwide, culture_company.Co...
SELECT director FROM movie WHERE YEAR = 1999 OR YEAR = 2000;
culture_company
Tables: book_club, movie, culture_company Columns: book_club.book_club_id, book_club.Year, book_club.Author_or_Editor, book_club.Book_Title, book_club.Publisher, book_club.Category, book_club.Result, movie.movie_id, movie.Title, movie.Year, movie.Director, movie.Budget_million, movie.Gross_worldwide, culture_company.Co...
SELECT director FROM movie WHERE YEAR = 1999 OR YEAR = 2000;
culture_company
Tables: book_club, movie, culture_company Columns: book_club.book_club_id, book_club.Year, book_club.Author_or_Editor, book_club.Book_Title, book_club.Publisher, book_club.Category, book_club.Result, movie.movie_id, movie.Title, movie.Year, movie.Director, movie.Budget_million, movie.Gross_worldwide, culture_company.Co...
SELECT avg(budget_million) , max(budget_million) , min(budget_million) FROM movie WHERE YEAR < 2000;
culture_company
Tables: book_club, movie, culture_company Columns: book_club.book_club_id, book_club.Year, book_club.Author_or_Editor, book_club.Book_Title, book_club.Publisher, book_club.Category, book_club.Result, movie.movie_id, movie.Title, movie.Year, movie.Director, movie.Budget_million, movie.Gross_worldwide, culture_company.Co...
SELECT avg(budget_million) , max(budget_million) , min(budget_million) FROM movie WHERE YEAR < 2000;
culture_company
Tables: book_club, movie, culture_company Columns: book_club.book_club_id, book_club.Year, book_club.Author_or_Editor, book_club.Book_Title, book_club.Publisher, book_club.Category, book_club.Result, movie.movie_id, movie.Title, movie.Year, movie.Director, movie.Budget_million, movie.Gross_worldwide, culture_company.Co...
SELECT T1.company_name FROM culture_company AS T1 JOIN book_club AS T2 ON T1.book_club_id = T2.book_club_id WHERE T2.publisher = 'Alyson';
culture_company
Tables: book_club, movie, culture_company Columns: book_club.book_club_id, book_club.Year, book_club.Author_or_Editor, book_club.Book_Title, book_club.Publisher, book_club.Category, book_club.Result, movie.movie_id, movie.Title, movie.Year, movie.Director, movie.Budget_million, movie.Gross_worldwide, culture_company.Co...
SELECT T1.company_name FROM culture_company AS T1 JOIN book_club AS T2 ON T1.book_club_id = T2.book_club_id WHERE T2.publisher = 'Alyson';
culture_company
Tables: book_club, movie, culture_company Columns: book_club.book_club_id, book_club.Year, book_club.Author_or_Editor, book_club.Book_Title, book_club.Publisher, book_club.Category, book_club.Result, movie.movie_id, movie.Title, movie.Year, movie.Director, movie.Budget_million, movie.Gross_worldwide, culture_company.Co...
SELECT T1.title , T3.book_title FROM movie AS T1 JOIN culture_company AS T2 ON T1.movie_id = T2.movie_id JOIN book_club AS T3 ON T3.book_club_id = T2.book_club_id WHERE T2.incorporated_in = 'China';
culture_company
Tables: book_club, movie, culture_company Columns: book_club.book_club_id, book_club.Year, book_club.Author_or_Editor, book_club.Book_Title, book_club.Publisher, book_club.Category, book_club.Result, movie.movie_id, movie.Title, movie.Year, movie.Director, movie.Budget_million, movie.Gross_worldwide, culture_company.Co...
SELECT T1.title , T3.book_title FROM movie AS T1 JOIN culture_company AS T2 ON T1.movie_id = T2.movie_id JOIN book_club AS T3 ON T3.book_club_id = T2.book_club_id WHERE T2.incorporated_in = 'China';
culture_company
Tables: book_club, movie, culture_company Columns: book_club.book_club_id, book_club.Year, book_club.Author_or_Editor, book_club.Book_Title, book_club.Publisher, book_club.Category, book_club.Result, movie.movie_id, movie.Title, movie.Year, movie.Director, movie.Budget_million, movie.Gross_worldwide, culture_company.Co...
SELECT T2.company_name FROM movie AS T1 JOIN culture_company AS T2 ON T1.movie_id = T2.movie_id WHERE T1.year = 1999;
culture_company
Tables: book_club, movie, culture_company Columns: book_club.book_club_id, book_club.Year, book_club.Author_or_Editor, book_club.Book_Title, book_club.Publisher, book_club.Category, book_club.Result, movie.movie_id, movie.Title, movie.Year, movie.Director, movie.Budget_million, movie.Gross_worldwide, culture_company.Co...
SELECT T2.company_name FROM movie AS T1 JOIN culture_company AS T2 ON T1.movie_id = T2.movie_id WHERE T1.year = 1999;