WEB EXAM III SQL/XML/AJAX

Pataasin ang iyong marka sa homework at exams ngayon gamit ang Quizwiz!

For the XML parser to ignore a certain section of your XML document, which syntax is correct?

<![CDATA[ Text to be ignored ]]>

What is the correct syntax of the declaration which defines the XML version?

<?xml version="1.0"?>

What is a correct way of referring to a stylesheet called "mystyle.xsl" ?

<?xml-stylesheet type="text/xsl" href="mystyle.xsl"?>

What does DTD stand for?

Document Type Definition

With SQL, how do you select all the columns from a table named "Persons"?

SELECT * FROM Persons

With SQL, how do you select all the records from a table named "Persons" where the value of the column "FirstName" starts with an "a"?

SELECT * FROM Persons WHERE FirstName LIKE 'a%'

Which SQL statement is used to create a table in a database?

CREATE TABLE

Which SQL statement is used to delete data from a database?

DELETE

Which SQL statement is used to extract data from a database?

SELECT

With SQL, how do you select all the records from a table named "Persons" where the value of the column "FirstName" is "Peter"?

SELECT * FROM Persons WHERE FirstName='Peter'

With SQL, how do you select all the records from a table named "Persons" where the "FirstName" is "Peter" and the "LastName" is "Jackson"?

SELECT * FROM Persons WHERE FirstName='Peter' AND LastName='Jackson'

Which SQL statement is used to return only different values?

SELECT DISTINCT

With SQL, how do you select a column named "FirstName" from a table named "Persons"?

SELECT FirstName FROM Persons

Which XML DOM object represents a node in the node tree?

The node object

Which operator is used to select values within a range?

BETWEEN

Which SQL statement is used to update data in a database?

UPDATE

There is a way of describing XML data, how?

XML uses a DTD to describe the data

What does XML stand for?

eXtensible Markup Language

With SQL, how do you select all the records from a table named "Persons" where the "LastName" is alphabetically between (and including) "Hansen" and "Pettersen"?

ELECT * FROM Persons WHERE LastName BETWEEN 'Hansen' AND 'Pettersen'

What does XSL stand for?

EXtensible Stylesheet Language

What are XML entities used for?

Entities are used to define shortcuts to special characters

Which SQL statement is used to insert new data in a database?

INSERT INTO

Which operator is used to search for a specified pattern in a column?

LIKE

Which SQL keyword is used to sort the result-set?

ORDER BY

What is the most common type of join?

SQL INNER JOIN

What does SQL stand for?

Structured Query Language


Kaugnay na mga set ng pag-aaral

Ch. 10: Property, Plant, and Equipment and Intangible Assets - Acquisition

View Set

Ch. 04: Consumer Surplus, Producer Surplus, and Economic Efficiency

View Set

Chapter 16 - Financial Leverage and Capital Structure Policy

View Set

The crusades discovery education

View Set

Chapter 30: Nursing Management: Diabetes Mellitus

View Set

California Real Estate Principles Unit 7: Contracts

View Set