Question: Write a Java program to create a table named FoodItem that contains the following columns : ID (number), Name(varchar), calories(number). Now create an insert statement
Write a Java program to create a table named FoodItem that contains the following columns : ID (number), Name(varchar), calories(number).
Now create an insert statement to insert a record into this database table.
Finally using a select statement print the record that you entered into the database.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
