Answered step by step
Verified Expert Solution
Link Copied!

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%

image text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

SQL Server Query Performance Tuning

Authors: Sajal Dam, Grant Fritchey

4th Edition

1430267429, 9781430267423

More Books

Students also viewed these Databases questions