query
IPA: kwˈɪri
noun
- A question, an inquiry (US), an enquiry (UK).
- A question mark.
- (computing, databases) A set of instructions passed to a database.
- A surname.
verb
- (intransitive) To ask a question.
- (transitive) To ask, inquire.
- (transitive) To question or call into doubt.
- (computing, databases) To pass a set of instructions to a database to retrieve information from it.
- (transitive, Internet) To send a private message to (a user on IRC).
- (intransitive, publishing) To send out a query letter.
Advertisement
Examples of "query" in Sentences
- # Make up a simple query my $query = new Unit:: Request ( "");
- Next you plan out your query and assign it to the $query variable.
- $Vm = gwmi - namespace root\virtualization - query $query - computername $HyperVServer
- $result = $db - > query ($query); if ($result) echo $db - > affected_rows. 'student inserted into the database.'
- $Kvp = gwmi - namespace root\virtualization - query $query - computername $HyperVServer Write-Host "Guest KVP information for"
- $result = mysql_query ($query) or die ( "Couldn't execute query"); while ($row = mysql_fetch_array ($result)) $indexx = $row [ "indexx"];
- You do this by sending the straight text through PHP either through a variable or through the mysql_query command directly, like this: $query = "SELECT * from TABLE"; $results = mysql_query ($query); You can also do it like this: $results = mysql_query ( "SELECT * from TABLE"); The results of your query are then put into a temporary array known as $results, which you'll learn more about later.
Advertisement
Advertisement