Dan Suciu และ Magdalena Balazinska มีเอกสารกี่ฉบับ ไม่จำเป็นต้องใช้ตารางทั้งหมด
How many papers do Dan Suciu and Magdalena Balazinska have ?It is not neccessary to use all the tables.
 paperdataset:  paperid [ int]  datasetid [ int] 
SELECT DISTINCT COUNT(1) FROM author AS AUTHOR_0, author AS AUTHOR_1, writes AS WRITES_0, writes AS WRITES_1 WHERE AUTHOR_0.authorname = 'Dan Suciu' AND AUTHOR_1.authorname = 'Magdalena Balazinska' AND WRITES_0.authorid = AUTHOR_0.authorid AND WRITES_1.authorid = AUTHOR_1.authorid AND WRITES_1.paperid = WRITES_0.paperid