Find the Error
1. Find the error in the following SQL statement.
SELECT * FROM Coffee WHERE Description 5 "French Roast Dark"
2. Find the error in the following SQL statement.
SELECT * FROM Coffee WHERE ProdNum !5 '14-001'
3. Find the error in the following Java code. Assume that conn references a valid Connection object.
// This code has an error!!!
String sql 5 "SELECT * FROM Coffee";
Statement stmt 5 conn.createStatement();
ResultSet result 5 stmt.execute(sql);
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here