Question: DB name: data Table name: Student Std_ID Major Average A1000 CIS 80% Std_Name Ali Ahmad Ayman Hani Muna Mahmoud B2000 CS 81% C3000 NW 79%

DB name: data Table name: Student Std_ID Major Average A1000 CIS 80% Std_Name Ali Ahmad Ayman Hani Muna Mahmoud B2000 CS 81% C3000 NW 79% setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); } catch (PDOException Se){ die('cannot connect to DB'); } $query="SELECT * FROM student'; $stmt = $pdo-prepare($query); $success = $stmt->execute(); while($row = $stmt->fetch(){ echo $row[3]. Srow(2).' '; } ?> a. O a Records containing the following columns: Major, std_Name b. "Records containing the following columns: Std_id, Major O C. Records containing the following columns: Major, Average Records containing the following columns: Average, Major
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
