#########################################################################
# run Java QueryGeneric DB program
# Change the sql query as you wish
# or enter the SQL on the command line
# $@ means all tokens entered on command line.  
# If entering * in the SQL, make sure you enter it as '*'
#########################################################################
#sql="select fname,lname,ssn,course_id from student join class on ssn=stu_ssn"
sql="$@"

java -cp ".:mysql-connector-java-8.0.30.jar" QueryGeneric "$sql"