How many pages does the ISBN 1-40122-328-1 have?
CREATE TABLE table_name_47 (pages INTEGER, isbn VARCHAR)
SELECT SUM(pages) FROM table_name_47 WHERE isbn = "1-40122-328-1"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_47 (pages INTEGER, isbn VARCHAR) Question: How many pages does the ISBN 1-40122-328-1 have? [/INST] SELECT SUM(pages) FROM table_name_47 WHERE isbn = "1-40122-328-1" </s>