Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started