booktown=# SELECT isbn, cost, stock
booktown-# FROM stock
booktown-# WHERE cost >
30
booktown-# OR stock = 0:
Isbn cost | stock
0394900014 23.00 | 0
044100590X | 36.00 | 89
0451198492 | 36.00 | 0
0451457994 17.00 j 0 (4 rows)
booktown=# SELECT Isbn, cost, stock
booktown-# FROM stock
booktown-# WHERE cost >
30
booktown-# AND stock = 0;
Isbn | cost stock
0451198492 36.00 0
(1 row)