Ajp 18
Ajp 18
Program Code:
1. Write a Program to create a Student Table in database and insert a record in a
student table.
Program:
import java.sql.*;
Output:
XIII. Exercise:
1. Develop a program to create employee table in database having two columns
“emp_id” and “emp_name”.
Program:
import java.sql.*;
2. Develop a program to display the name and roll_no of students from “student table”
having percentage > 70.
Program:
import java.sql.*;