submissions/reusable/uesbecketal/tasks/solutions/task5solution.java
/**
	 * Please write this method to return the Table object student with an entry
	 * added. The new entry should have the id "23", the first name "Tom", the
	 * last name "Young", the year "3", and the grade "C"
	 * 
	 * Table information:
	 * 
	 * - students - 
	 * 
	 * id (int) | firstname (String) | lastname (String) | grade | year
	 * (String) | year (int) | class (String)
	 * 
	 * 
	 * Use the technique shown to you in the samples given
	 * 
	 */
Please write this method to return the Table object student with an entry
added.

Table information.

- students



Use the technique shown to you in the samples given
Please write this method to return the Table object student with an entry added . Table information . - students Use the technique shown to you in the samples given
public Table queryB(Table students) throws Exception {
		Query q = new Query();
		q.Prepare("INSERT INTO students (id, firstname, lastname, year, grade) "+
			"VALUES ('23', 'Tom', 'Young', 3, C)");
		Table r = students.Search(q);
		return r;
	}
public Table queryB ( Table students ) throws Exception { Query q = new Query ( ) ; q . Prepare ( "INSERT INTO students (id, firstname, lastname, year, grade) " + "VALUES ('23', 'Tom', 'Young', 3, C)" ) ; Table r = students . Search ( q ) ; return r ; }
Please write this method to return the Table object student with an entry
 added.
Please write this method to return the Table object student with an entry added .