Quantcast
Channel: DaniWeb Solved Topics
Viewing all articles
Browse latest Browse all 576

Display certain resultset with javafx

$
0
0

I am trying to display this SQL query in a table.

String query = "SELECT COUNT(`appointmentId`),EXTRACT(MONTH FROM `start`) FROM `appointment` WHERE YEAR(start) = '" + year + "' GROUP BY EXTRACT(MONTH FROM `start`)";

Unfortunately I cannot alter the database. I am trying to list the total appointments per month on a table or perhaps a TextArea. Any ideas please?

Thanks!


Viewing all articles
Browse latest Browse all 576

Latest Images

Trending Articles



Latest Images