I need help in sql statement. Now my database I have Category table(book, flower, stationary). Inside book table(bookIDm,bookTypes, size, price, catID)
For eg, 1st field -1(bookID), Diary(bookTypes), Big(size), $12.50(price), 1(catID) 2nd field -2(bookID), Diary(bookTypes), Big(size), $11.00(price), 1(catID) .
Now I just wanted it to display like ---- Diary | Small | $11.00---Means only display one data for each bookType with the lowest price. How do I write the sql statement for this requirement?