Highest No.of. Book's Readers Name List.
- Crete the New SQL Report
- Copy and Paste following lines in the SQL report. Save and close.
SELECT
cardnumber as 'Lib Card No',
surname as Name,
borrowernotes as Department,
COUNT(*) as Reading
FROM
borrowers b
JOIN statistics s ON (b.borrowernumber = s.borrowernumber)
WHERE DATE(datetime) between <<From|date>> and <<Until|date>>
GROUP BY b.borrowernumber
ORDER BY Reading DESC
3 Comments
Thanks for uploading thanks alot its very useful us
ReplyDeleteAshish Arora
chandigarh
Thanks you for supporting.
Deletesubscribe my channel: https://www.youtube.com/channel/UC3wql6wxktbjRCdPMo9SXoA
thank you for sharing this wonderfull article, here on my website we teach seo, digital marketing, affiliate marketing, earning money online etc.... if you will visit we provide a free cources of all this things.
ReplyDelete