M
Miguel Dias Moura
Hello,
i have this code to order the 3 authors that appear more often in a book
database:
SELECT Author, COUNT(Author) AS totalBooks
FROM Books
GROUP BY Author
ORDER BY totalBooks DESC
When i added the line "ORDER BY totalBooks DESC" i got the error:
System.Data.OleDb.OleDbException: No value given for one or more required
parameters.
Without this line it works ok but it's not sorted as i want.
Can you tell me what is going on?
Thank You,
Miguel
i have this code to order the 3 authors that appear more often in a book
database:
SELECT Author, COUNT(Author) AS totalBooks
FROM Books
GROUP BY Author
ORDER BY totalBooks DESC
When i added the line "ORDER BY totalBooks DESC" i got the error:
System.Data.OleDb.OleDbException: No value given for one or more required
parameters.
Without this line it works ok but it's not sorted as i want.
Can you tell me what is going on?
Thank You,
Miguel