ive got a sql query which creates a table for books which stores data now how do i write an sql statement to search the database for books which the number of copies is 15 or less and make it display only the title and price.
i know it might seem really easy but ive just start learning sql
thanks
CREATE TABLE Book ( ISBN CHAR(10),
title CHAR(100),
author CHAR(50),
copies INTEGER,
price REAL )
Without knowing your table layout or fields, we have to guess:
edited to reflect actual column names.