<?xml version="1.0" standalone="yes"?>
<cliplibrary>
  <clip>
    <clipname>Select</clipname>
    <cliptext>SELECT * FROM tblName</cliptext>
    <clipdescription>Selects all items from a table in the database</clipdescription>
  </clip>
  <clip>
    <clipname>Where</clipname>
    <cliptext>SELECT * FROM tblName
WHERE fieldname ='searchstring'</cliptext>
    <clipdescription>Selects specific items from a table in the database.

= Equal 
&lt;&gt; Not equal 
&gt; Greater than 
&lt; Less than 
&gt;= Greater than or qual 
&lt;= Less than or equal 
BETWEEN selects a range
LIKE Search for a string
% Wild card used with like
 
</clipdescription>
  </clip>
  <clip>
    <clipname>Delete</clipname>
    <cliptext>DELETE FROM tblName WHERE fieldname =''</cliptext>
    <clipdescription>Delete items from a table in the database. 
Warning don't forget the where clause. 
Easy way to make sure that you are deleting the correct information is to use the Select statement and once you have selected the correct information then change it to a delete by removing SELECT * and replacing it with DELETE

DELETE FROM [tblName] WHERE [fieldname]='[searchstring]'</clipdescription>
  </clip>
  <clip>
    <clipname>Insert</clipname>
    <cliptext>INSERT INTO tblName (column1, column2)
VALUES (value1, value2)</cliptext>
    <clipdescription>INSERT INTO tblName (column1, column2)
VALUES (value1, value2)</clipdescription>
  </clip>
  <clip>
    <clipname>Update</clipname>
    <cliptext>Update tblName 
SET ColumnName1 = 'Variable1',
ColumnName1 = 'Variable1' 
where ColumnName1 = 'searchstring' </cliptext>
    <clipdescription>Update selected items in a table

Update tblName 
SET ColumnName1 = 'Variable1',
ColumnName1 = 'Variable1' 
where ColumnName1 = 'searchstring' </clipdescription>
  </clip>
  <clip>
    <clipname>Count</clipname>
    <cliptext>SELECT COUNT(*) FROM tblName</cliptext>
    <clipdescription>Selects items from a table in the database and returns the item COUNT.</clipdescription>
  </clip>
  <clip>
    <clipname>Sum</clipname>
    <cliptext>SELECT SUM(ColumnName) FROM tblName</cliptext>
    <clipdescription>Selects items from a table in the database and returns the TOTAL SUM of the column.</clipdescription>
  </clip>
  <clip>
    <clipname>Max</clipname>
    <cliptext>SELECT MAX(ColumnName) FROM tblName</cliptext>
    <clipdescription>Selects items from a table in the database and returns the MAXIMUM value in the column.</clipdescription>
  </clip>
  <clip>
    <clipname>Avg</clipname>
    <cliptext>SELECT AVG(ColumnName) FROM tblName</cliptext>
    <clipdescription>Selects items from a table in the database and returns the AVERAGE value of the column.</clipdescription>
  </clip>
  <clip>
    <clipname>Order By</clipname>
    <cliptext>SELECT * FROM tblName ORDER BY columnName</cliptext>
    <clipdescription>Selects all items from a table in the database
and then put the information in order.

Default is Ascending
ASC Ascending
DESC Descending

Can ORDER BY multiple fields
SELECT * FROM tblName ORDER BY columnName1 desc,  columnName2 asc</clipdescription>
  </clip>
</cliplibrary>