-
This SQLite post explains how to use the SQLite WHERE clause with syntax and examples. The SQLite WHERE clause is used to filter the results from a SELECT, INSERT, UPDATE, or DELETE statement.site: google sitemap xml, Open Graph and plain old meta-tags.
Read More
-
This SQLite post explains how to create, update, and drop VIEWS in SQLite with syntax and examples. In SQLite, a VIEW is not a physical table, but rather, it is in essence a virtual table created by a query joining one or more tables.site: google sitemap xml, Open Graph and plain old meta-tags.
Read More
-
This SQLite post explains how to use the VACUUM statement with syntax and examples. The VACUUM statement is used to reclaim storage by removing obsolete data and reducing the size of the database file.site: google sitemap xml, Open Graph and plain old meta-tags.
Read More
-
This SQLite post explains how to use the SQLite upper function with syntax and examples. The SQLite upper function converts all characters in the specified string to uppercase.site: google sitemap xml, Open Graph and plain old meta-tags.
Read More
-
This SQLite post explains how to use the SQLite UPDATE statement with syntax and examples. The SQLite UPDATE statement is used to update existing records in a table in a SQLite database.site: google sitemap xml, Open Graph and plain old meta-tags.
Read More
-
This SQLite post explains how to create, add, and drop unique constraints in SQLite with syntax and examples. A unique constraint is a single field or combination of fields that uniquely defines a record.site: google sitemap xml, Open Graph and plain old meta-tags.
Read More
-
This SQLite post explains how to use the SQLite UNION operator with syntax and examples. The SQLite UNION operator is used to combine the result sets of 2 or more SELECT statements. It removes duplicate rows between the various SELECT statements.site: google sitemap xml, Open Graph and plain old meta-tags.
Read More
-
This SQLite post explains how to use the SQLite UNION ALL operator with syntax and examples. The SQLite UNION ALL operator is used to combine the result sets of 2 or more SELECT statements (does not remove duplicate rows).site: google sitemap xml, Open Graph and plain old meta-tags.
Read More
-
This SQLite post explains how to use TRUNCATE TABLE in SQLite with syntax and examples. The TRUNCATE TABLE statement is used to remove all records from a table.site: google sitemap xml, Open Graph and plain old meta-tags.
Read More
-
This SQLite post explains how to use the SQLite trim function with syntax and examples. The SQLite trim function removes all specified characters from both sides of a string.site: google sitemap xml, Open Graph and plain old meta-tags.
Read More
-
The SQLite time function is a very powerful function that can calculate a time and return it in the format 'HH-MM-SS'.site: google sitemap xml, Open Graph and plain old meta-tags.
Read More
-
SQLite databases have a set of system tables (ie: catalog tables). You can easily identify a system table in SQLite because the table name will start with the sqlite_ prefix. Below is a listing of the SQLite system tables that are commonly used.site: google sitemap xml, Open Graph and plain old meta-tags.
Read More
-
This SQLite post explains how to use the SQLite sum function with syntax and examples. The SQLite sum function returns the summed value of an expression.site: google sitemap xml, Open Graph and plain old meta-tags.
Read More
-
This SQLite post explains how to use the SQLite substr function with syntax and examples. The SQLite substr function allows you to extract a substring from a string.site: google sitemap xml, Open Graph and plain old meta-tags.
Read More
-
This SQLite post explains how to use subqueries in SQLite with syntax and examples. In SQLite, a subquery is a query within a query. You can create subqueries within your SQL statements.site: google sitemap xml, Open Graph and plain old meta-tags.
Read More
-
This SQLite post explains how to use the SQLite strftime function with syntax and examples. The SQLite strftime function is a very powerful function that allows you to return a formatted date as well as perform date calculations on that date.site: google sitemap xml, Open Graph and plain old meta-tags.
Read More
-
This SQLite post explains how to use the sqlite_version function with syntax and examples. Wondering how to find out what version of SQLite you have? The sqlite_version function returns the version of SQLite that you are running.site: google sitemap xml, Open Graph and plain old meta-tags.
Read More
-
This SQLite post explains how to use the SQLite SELECT statement with syntax and examples. The SQLite SELECT statement is used to retrieve records from one or more tables in SQLite.site: google sitemap xml, Open Graph and plain old meta-tags.
Read More
-
This SQLite post explains how to use the SELECT LIMIT statement in SQLite with syntax and examples. The SQLite SELECT LIMIT statement is used to retrieve records from one or more tables in SQLite and limit the number of records returned based on a limit value.site: google sitemap xml, Open Graph and plain old meta-tags.
Read More
-
This SQLite post explains how to use the SQLite rtrim function with syntax and examples. The SQLite rtrim function removes all specified characters from the right-hand side of a string.site: google sitemap xml, Open Graph and plain old meta-tags.
Read More
-
This SQLite post explains how to use the SQLite round function with syntax and examples. The SQLite round function returns a number rounded to a certain number of decimal places.site: google sitemap xml, Open Graph and plain old meta-tags.
Read More
-
This SQLite post explains how to use the SQLite replace function with syntax and examples. The SQLite replace function replaces all occurrences of a specified string.site: google sitemap xml, Open Graph and plain old meta-tags.
Read More
-
This SQLite post explains how to use the SQLite random function with syntax and examples. The SQLite random function can be used to return a random number.site: google sitemap xml, Open Graph and plain old meta-tags.
Read More
-
This SQLite post explains how to create, add, and drop a primary key in SQLite with syntax and examples. In SQLite, a primary key is a single field or combination of fields that uniquely defines a record.site: google sitemap xml, Open Graph and plain old meta-tags.
Read More
-
This SQLite post explains how to use the SQLite ORDER BY clause with syntax and examples. The SQLite ORDER BY clause is used to sort the records in your result set.site: google sitemap xml, Open Graph and plain old meta-tags.
Read More
-
This SQLite post explains how to use the SQLite OR condition with syntax and examples. The SQLite OR condition is used to test two or more conditions where records are returned when any one of the conditions are met.site: google sitemap xml, Open Graph and plain old meta-tags.
Read More
-
This SQLite post explains how to use the SQLite nullif function with syntax and examples. The SQLite nullif function returns NULL if two expressions are equivalent. Otherwise, it returns the first expression.site: google sitemap xml, Open Graph and plain old meta-tags.
Read More
-
This SQLite post explains how to use the SQLite now function (ie: timestring parameter) with syntax and examples. In SQLite, there isn't a function called the now function, but rather now is a timestring parameter that is used to retrieve the current date and time.site: google sitemap xml, Open Graph and plain old meta-tags.
Read More
-
This SQLite post explains how to use the SQLite NOT condition with syntax and examples. The SQLite NOT condition (also called the NOT Operator) is used to negate a condition in a SELECT, INSERT, UPDATE, or DELETE statement.site: google sitemap xml, Open Graph and plain old meta-tags.
Read More
-
This SQLite post explains how to use the SQLite min function with syntax and examples. The SQLite min function returns the minimum value of an expression.site: google sitemap xml, Open Graph and plain old meta-tags.
Read More
-
This SQLite post explains how to use the SQLite max function with syntax and examples. The SQLite max function returns the maximum value of an expression.site: google sitemap xml, Open Graph and plain old meta-tags.
Read More
-
This SQLite post explains how to use the SQLite ltrim function with syntax and examples. The SQLite ltrim function removes all specified characters from the left-hand side of a string.site: google sitemap xml, Open Graph and plain old meta-tags.
Read More
-
This SQLite post explains how to use the SQLite lower function with syntax and examples. The SQLite lower function converts all characters in the specified string to lowercase.site: google sitemap xml, Open Graph and plain old meta-tags.
Read More
-
This SQLite post explains how to use literals (string, number, date, time, and boolean literals) in SQLite with examples. In SQLite, a literal is the same as a constant.site: google sitemap xml, Open Graph and plain old meta-tags.
Read More
-
This SQLite post explains how to use the SQLite LIKE condition to perform pattern matching with syntax and examples. The SQLite LIKE condition allows wildcards to be used.site: google sitemap xml, Open Graph and plain old meta-tags.
Read More
-
This SQLite post explains how to use the SQLite length function with syntax and examples. The SQLite length function returns the length of the specified string (measured in characters).site: google sitemap xml, Open Graph and plain old meta-tags.
Read More
-
This SQLite post explains how to use the SQLite last_insert_rowid function with syntax and examples. The SQLite last_insert_rowid function returns the ROWID of the last INSERT in the database for the current session.site: google sitemap xml, Open Graph and plain old meta-tags.
Read More
-
This SQLite post explains how to use the SQLite julianday function with syntax and examples. The SQLite julianday function takes a date, allows you to apply modifiers and then returns the date as a Julian Day.site: google sitemap xml, Open Graph and plain old meta-tags.
Read More
-
This SQLite post explains how to use SQLite JOINS (inner and outer) with syntax, visual illustrations, and examples. SQLite JOINS are used to retrieve data from multiple tables. A SQLite JOIN is performed whenever two or more tables are joined in a SQL statement.site: google sitemap xml, Open Graph and plain old meta-tags.
Read More
-
This SQLite post explains how to use the SQLite IS NULL condition with syntax and examples. The SQLite IS NULL condition is used to test for a NULL value in a SELECT, INSERT, UPDATE, or DELETE statement.site: google sitemap xml, Open Graph and plain old meta-tags.
Read More
-
This SQLite post explains how to use the SQLite IS NOT NULL condition with syntax and examples. The SQLite IS NOT NULL condition is used to test for a NOT NULL value in a SELECT, INSERT, UPDATE, or DELETE statement.site: google sitemap xml, Open Graph and plain old meta-tags.
Read More
-
This SQLite post explains how to use the INTERSECT operator with syntax and examples. The SQLite INTERSECT operator returns the intersection of 2 or more datasets. Each dataset is defined by a SELECT statement.site: google sitemap xml, Open Graph and plain old meta-tags.
Read More
-
This SQLite post explains how to use the SQLite instr function with syntax and examples. The SQLite instr function returns the location of a substring in a string.site: google sitemap xml, Open Graph and plain old meta-tags.
Read More
-
This SQLite post explains how to use the SQLite INSERT statement with syntax and examples. The SQLite INSERT statement is used to insert a single record or multiple records into a table in SQLite.site: google sitemap xml, Open Graph and plain old meta-tags.
Read More
-
This SQLite post explains how to create, drop, and rename indexes in SQLite with syntax and examples. An index is a performance-tuning method of allowing faster retrieval of records. An index creates an entry for each value that appears in the indexed columns.site: google sitemap xml, Open Graph and plain old meta-tags.
Read More
-
This SQLite post explains how to use the SQLite IN condition with syntax and examples. The SQLite IN condition is used to help reduce the need to use multiple OR Conditions in a SELECT, INSERT, UPDATE, or DELETE statement.site: google sitemap xml, Open Graph and plain old meta-tags.
Read More
-
This SQLite post explains how to use the SQLite ifnull function with syntax and examples. The SQLite ifnull function allows you to return an alternate value if an expression is NULL.site: google sitemap xml, Open Graph and plain old meta-tags.
Read More
-
This SQLite post explains how to use the SQLite HAVING clause with syntax and examples. The SQLite HAVING clause is used in combination with the GROUP BY clause to restrict the groups of returned rows to only those whose the condition is TRUE.site: google sitemap xml, Open Graph and plain old meta-tags.
Read More
-
This SQLite post explains how to use the SQLite GROUP BY clause with syntax and examples. The SQLite GROUP BY clause is used in a SELECT statement to collect data across multiple records and group the results by one or more columns.site: google sitemap xml, Open Graph and plain old meta-tags.
Read More
-
This SQLite post explains how to use the SQLite FROM clause with syntax and examples. The SQLite FROM clause is used to list the tables and any joins required for the query in SQLite.site: google sitemap xml, Open Graph and plain old meta-tags.
Read More
-
This SQLite post explains how to use Foreign Keys in SQLite with syntax and examples. A foreign key is a way to enforce referential integrity within your SQLite database. A foreign key means that values in one table must also appear in another table.site: google sitemap xml, Open Graph and plain old meta-tags.
Read More
-
This SQLite post explains how to use Foreign Keys with cascade delete in SQLite with syntax and examples. If a record in the parent table is deleted, then the corresponding records in the child table will have the foreign key fields set to null.site: google sitemap xml, Open Graph and plain old meta-tags.
Read More
-
This SQLite post explains how to use Foreign Keys with cascade delete in SQLite with syntax and examples. If a record in the parent table is deleted, then the corresponding records in the child table will automatically be deleted.site: google sitemap xml, Open Graph and plain old meta-tags.
Read More
-
This SQLite post explains how to use the SQLite EXISTS condition with syntax and examples. The SQLite EXISTS condition is used in combination with a subquery and is considered to be met if the subquery returns at least one row.site: google sitemap xml, Open Graph and plain old meta-tags.
Read More
-
This SQLite post explains how to use the EXCEPT operator in SQLite with syntax and examples. The SQLite EXCEPT operator is used to return all rows in the first SELECT statement that are not returned by the second SELECT statement.site: google sitemap xml, Open Graph and plain old meta-tags.
Read More
-
This SQLite post explains how to use the SQLite DROP TABLE statement with syntax and examples. The SQLite DROP TABLE statement allows you to remove or delete a table from the SQLite database.site: google sitemap xml, Open Graph and plain old meta-tags.
Read More
-
This SQLite post explains how to drop a foreign key in SQLite with syntax and examples. Once a foreign key has been created, you may find that you wish to drop the foreign key from the table. Let's explore how to do this.site: google sitemap xml, Open Graph and plain old meta-tags.
Read More
-
This SQLite post explains how to use the SQLite DISTINCT clause with syntax and examples. The SQLite DISTINCT clause is used to remove duplicates from the result set. The DISTINCT clause can only be used with SELECT statements.site: google sitemap xml, Open Graph and plain old meta-tags.
Read More
-
This SQLite post explains how to use the SQLite DETACH DATABASE command with syntax and examples. The SQLite DETACH DATABASE command is used to detach an attached database from your current database connection.site: google sitemap xml, Open Graph and plain old meta-tags.
Read More
-
This SQLite post explains how to use the SQLite DELETE statement with syntax and examples. The SQLite DELETE statement is used to delete a single record or multiple records from a table in SQLite.site: google sitemap xml, Open Graph and plain old meta-tags.
Read More
-
This SQLite post explains how to use the SQLite datetime function with syntax and examples. The SQLite datetime function is a very powerful function that can calculate a date/time value, and return it in the format 'YYYY-MM-DD HH:MM:SS'.site: google sitemap xml, Open Graph and plain old meta-tags.
Read More
-
This SQLite post explains how to use the SQLite date function with syntax and examples. The SQLite date function is a very powerful function that can calculate a date and return it in the format 'YYYY-MM-DD'.site: google sitemap xml, Open Graph and plain old meta-tags.
Read More
-
The following is a list of datatypes available in SQLite, which includes string, numeric, date/time, and large object datatypes.site: google sitemap xml, Open Graph and plain old meta-tags.
Read More
-
This SQLite post explains how to use the SQLite CREATE TABLE statement with syntax and examples. The SQLite CREATE TABLE statement allows you to create and define a table.site: google sitemap xml, Open Graph and plain old meta-tags.
Read More
-
This SQLite post explains how to use the SQLite CREATE TABLE AS statement with syntax and examples. The SQLite CREATE TABLE AS statement is used to create a table from an existing table by copying the existing table's columns.site: google sitemap xml, Open Graph and plain old meta-tags.
Read More
-
This SQLite post explains how to use the SQLite count function with syntax and examples. The SQLite count function returns the count of an expression.site: google sitemap xml, Open Graph and plain old meta-tags.
Read More
-
This SQLite post explores all of the comparison operators used to test for equality and inequality, as well as the more advanced operators.site: google sitemap xml, Open Graph and plain old meta-tags.
Read More
-
This SQLite post explains how to use comments within your SQL statements in SQLite with syntax and examples. Did you know that you can place comments within your SQL statements in SQLite? These comments can appear on a single line or span across multiple lines.site: google sitemap xml, Open Graph and plain old meta-tags.
Read More
-
This SQLite post explains how to use the AND condition and the OR condition together in a SQLite query with syntax and examples. The SQLite AND condition and OR condition can be combined in a SELECT, INSERT, UPDATE, or DELETE statement.site: google sitemap xml, Open Graph and plain old meta-tags.
Read More
-
This SQLite post explains how to use the SQLite coalesce function with syntax and examples. The SQLite coalesce function returns the first non-null expression in the list.site: google sitemap xml, Open Graph and plain old meta-tags.
Read More
-
This SQLite post explains how to use the SQLite BETWEEN condition with syntax and examples. The SQLite BETWEEN condition is used to retrieve values within a range in a SELECT, INSERT, UPDATE, or DELETE statement.site: google sitemap xml, Open Graph and plain old meta-tags.
Read More
-
This SQLite post explains how to use the SQLite avg function with syntax and examples. The SQLite avg function returns the average value of an expression.site: google sitemap xml, Open Graph and plain old meta-tags.
Read More
-
This SQLite post explains how to use the auto_vacuum process with syntax and examples. Introduced in SQLite 3.1, auto_vacuum is an optional feature that automatically vacuums the database to minimize the size of the database file.site: google sitemap xml, Open Graph and plain old meta-tags.
Read More
-
This SQLite post explains how to use the SQLite ATTACH DATABASE command with syntax and examples. The SQLite ATTACH DATABASE command is used to attach another SQLite database file to your current database connection. If the database file does not exist, it will be created when the command is run.site: google sitemap xml, Open Graph and plain old meta-tags.
Read More
-
This SQLite post explains how to use the SQLite AND condition with syntax and examples. The SQLite AND condition (also called the AND Operator) is used to test two or more conditions in a SELECT, INSERT, UPDATE, or DELETE statement.site: google sitemap xml, Open Graph and plain old meta-tags.
Read More
-
This SQLite post explains how to use the SQLite ANALYZE command with syntax and examples. The SQLite ANALYZE command is used to calculate and store statistical information about the tables and indexes analyzed. The statistical information gathered will be stored in a system table called sqlite_stat1 and will be later used by the query optimizer to determine the most efficient query plan.site: google sitemap xml, Open Graph and plain old meta-tags.
Read More
-
This SQLite post explains how to use the SQLite ALTER TABLE statement to add a column, modify a column, drop a column, rename a column or rename a table (with syntax and examples).site: google sitemap xml, Open Graph and plain old meta-tags.
Read More
-
This SQLite post explains how to use SQLite ALIASES (temporary names for columns or tables) with syntax and examples. SQLite ALIASES can be used to create a temporary name for columns or tables.site: google sitemap xml, Open Graph and plain old meta-tags.
Read More
-
This SQLite post explains how to use the SQLite abs function with syntax and examples. The SQLite abs function returns the absolute value of a number.site: google sitemap xml, Open Graph and plain old meta-tags.
Read More