Domanda di colloquio di Datto

Setup a connection to an SQL database using Java and write a select query to read a single column. Count the number of items returned.