Skip to Content
Applied Network Security
book

Applied Network Security

by Warun Levesque, Arthur Salmon, Michael McLafferty
April 2017
Intermediate to advanced
350 pages
8h 35m
English
Packt Publishing
Content preview from Applied Network Security

SQL command examples

The first example will demonstrate how to select data from a table:

SELECT <Column List> FROM<Table Name> WHERE <Search Condition>
SELECT FirstName, LastName, OrderDate
FROM Orders WHERE OrderDate > '12/20/2016'

The next example will show you how to update data in a table:

SET <Column1> = <Value1>, <Column2> = <Value2>, ...WHERE <Search Condition>
UPDATE OrdersSET FirstName = 'John', LastName = 'Who'WHERE LastName='Who'

The select query from the first example can be broken into four clauses: select, from, where, and order by. The most basic select statement only has two parts. The first part is what columns you want to return. The second part is what tables those columns come from. Remember, if you want to retrieve ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Applied Network Security Monitoring

Applied Network Security Monitoring

Chris Sanders, Jason Smith
Network Protocols for Security Professionals

Network Protocols for Security Professionals

Yoram Orzach, Deepanshu Khanna
Cyber Security and Network Security

Cyber Security and Network Security

Sabyasachi Pramanik, Debabrata Samanta, M. Vinay, Abhijit Guha

Publisher Resources

ISBN: 9781786466273