×

Multiple-Choice Questions

Web Technologies MCQs

Computer Science Subjects MCQs

Databases MCQs

Programming MCQs

Testing Software MCQs

Digital Marketing Subjects MCQs

Cloud Computing Softwares MCQs

AI/ML Subjects MCQs

Engineering Subjects MCQs

Office Related Programs MCQs

Management MCQs

More

Suppose you want all the data from the table named as a student then which of the following syntax you will use?

39. Suppose you want all the data from the table named as a student then which of the following syntax you will use?

  1. $query = DB:query('SELECT * FROM 'student'');
  2. $query = DB::query('SELECT * FROM 'student'');
  3. $query = ::query('SELECT * FROM 'Student'');

Answer: B) DB::query('SELECT * FROM 'student'');

Explanation:

$query = DB::query('SELECT * FROM 'student''); is the correct syntax.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.