Sql

Browse 209 guides in Sql

Showing 30 of 209 guides (Page 2 of 7)
📄
How to calculate age (in years) based on Date of Birth and getDate()
Learn how to calculate age (in years) based on date of birth and getdate() with practical examples, diagrams, and best practices. Covers sql, sql-server, t-sql development techniques with visual ex...
intermediate sql sql-server t-sql
📄
Efficiently convert rows to columns
Learn efficiently convert rows to columns with practical examples, diagrams, and best practices. Covers sql, sql-server, sql-server-2008 development techniques with visual explanations.
intermediate sql sql-server sql-server-2008
📄
Nesting queries in SQL
Learn nesting queries in sql with practical examples, diagrams, and best practices. Covers sql, nested development techniques with visual explanations.
intermediate sql nested
📄
Query comparing dates in SQL
Learn query comparing dates in sql with practical examples, diagrams, and best practices. Covers sql, sql-server, date development techniques with visual explanations.
intermediate sql sql-server date
📄
Combining "LIKE" and "IN" for SQL Server
Learn combining "like" and "in" for sql server with practical examples, diagrams, and best practices. Covers sql, sql-like development techniques with visual explanations.
intermediate sql sql-like
count distinct records (all columns) not working
count distinct records (all columns) not working
Learn count distinct records (all columns) not working with practical examples, diagrams, and best practices. Covers sql, sql-server, t-sql development techniques with visual explanations.
intermediate sql sql-server t-sql
📄
What is the difference between Views and Materialized Views in Oracle?
Learn what is the difference between views and materialized views in oracle? with practical examples, diagrams, and best practices. Covers sql, oracle-database, view development techniques with vis...
intermediate sql oracle-database view
📄
How to use Charindex for one or the other character
Learn how to use charindex for one or the other character with practical examples, diagrams, and best practices. Covers sql, sql-server, string development techniques with visual explanations.
intermediate sql sql-server string
📄
SQL CASE WHEN IN (SELECT...) THEN
Learn sql case when in (select...) then with practical examples, diagrams, and best practices. Covers sql, case, databricks development techniques with visual explanations.
intermediate sql case databricks
How to select top five or 'N' rows in Oracle 11g
How to select top five or 'N' rows in Oracle 11g
Learn how to select top five or 'n' rows in oracle 11g with practical examples, diagrams, and best practices. Covers sql, oracle-database, oracle11g development techniques with visual explanations.
intermediate sql oracle-database oracle11g
📄
How to use parameters with RPostgreSQL (to insert data)
Learn how to use parameters with rpostgresql (to insert data) with practical examples, diagrams, and best practices. Covers sql, r, postgresql development techniques with visual explanations.
intermediate sql r postgresql
How to change a table name using an SQL query?
How to change a table name using an SQL query?
Learn how to change a table name using an sql query? with practical examples, diagrams, and best practices. Covers sql, sql-server, sql-server-2005 development techniques with visual explanations.
intermediate sql sql-server sql-server-2005
📄
Replace function in SQL
Learn replace function in sql with practical examples, diagrams, and best practices. Covers sql, sql-server, t-sql development techniques with visual explanations.
intermediate sql sql-server t-sql
📄
SQL : BETWEEN vs <= and >=
Learn sql : between vs <= and >= with practical examples, diagrams, and best practices. Covers sql, sql-server, t-sql development techniques with visual explanations.
intermediate sql sql-server t-sql
Creating alias in query and using it
Creating alias in query and using it
Learn creating alias in query and using it with practical examples, diagrams, and best practices. Covers sql, alias development techniques with visual explanations.
intermediate sql alias
How to get a list column names and datatypes of a table in PostgreSQL?
How to get a list column names and datatypes of a table in PostgreSQL?
Learn how to get a list column names and datatypes of a table in postgresql? with practical examples, diagrams, and best practices. Covers sql, postgresql, sqldatatypes development techniques with ...
intermediate sql postgresql sqldatatypes
Altering column size in SQL Server
Altering column size in SQL Server
Learn altering column size in sql server with practical examples, diagrams, and best practices. Covers sql, sql-server, database development techniques with visual explanations.
intermediate sql sql-server database
📄
How to execute an IN lookup in SQL using Golang?
Learn how to execute an in lookup in sql using golang? with practical examples, diagrams, and best practices. Covers sql, go development techniques with visual explanations.
intermediate sql go
📄
Oracle SQL Stored Procedures Call vs. Execute
Learn oracle sql stored procedures call vs. execute with practical examples, diagrams, and best practices. Covers sql, oracle-database, stored-procedures development techniques with visual explanat...
intermediate sql oracle-database stored-procedures
SQL Server - Create a copy of a database table and place it in the same database?
SQL Server - Create a copy of a database table and place it in the same database?
Learn sql server - create a copy of a database table and place it in the same database? with practical examples, diagrams, and best practices. Covers sql, sql-server-2008, t-sql development techniq...
intermediate sql sql-server-2008 t-sql
How can I tell what edition of SQL Server runs on the machine?
How can I tell what edition of SQL Server runs on the machine?
Learn how can i tell what edition of sql server runs on the machine? with practical examples, diagrams, and best practices. Covers sql, sql-server development techniques with visual explanations.
intermediate sql sql-server
📄
SQL Server Insert if not exists
Learn sql server insert if not exists with practical examples, diagrams, and best practices. Covers sql, sql-server, sql-server-2008 development techniques with visual explanations.
intermediate sql sql-server sql-server-2008
Search text in stored procedure in SQL Server
Search text in stored procedure in SQL Server
Learn search text in stored procedure in sql server with practical examples, diagrams, and best practices. Covers sql, sql-server, stored-procedures development techniques with visual explanations.
intermediate sql sql-server stored-procedures
Convert INT to VARCHAR SQL
Convert INT to VARCHAR SQL
Learn convert int to varchar sql with practical examples, diagrams, and best practices. Covers sql, select, type-conversion development techniques with visual explanations.
intermediate sql select type-conversion
📄
How to compare two SQLite databases on Linux
Learn how to compare two sqlite databases on linux with practical examples, diagrams, and best practices. Covers sql, linux, sqlite development techniques with visual explanations.
intermediate sql linux sqlite
📄
NOT IN vs NOT EXISTS
Learn not in vs not exists with practical examples, diagrams, and best practices. Covers sql, sql-server, notin development techniques with visual explanations.
intermediate sql sql-server notin
SQL-script: How to write ALTER statements to set Primary key on an existing table?
SQL-script: How to write ALTER statements to set Primary key on an existing table?
Learn sql-script: how to write alter statements to set primary key on an existing table? with practical examples, diagrams, and best practices. Covers sql, sql-server, sql-server-2008 development t...
intermediate sql sql-server sql-server-2008
📄
What is the difference between JOIN and INNER JOIN?
Learn what is the difference between join and inner join? with practical examples, diagrams, and best practices. Covers sql, sql-server, join development techniques with visual explanations.
intermediate sql sql-server join
📄
How can I do an UPDATE statement with JOIN in SQL Server?
Learn how can i do an update statement with join in sql server? with practical examples, diagrams, and best practices. Covers sql, sql-server, t-sql development techniques with visual explanations.
intermediate sql sql-server t-sql
What does the % symbol do at the end of a string in SQL?
What does the % symbol do at the end of a string in SQL?
Learn what does the % symbol do at the end of a string in sql? with practical examples, diagrams, and best practices. Covers sql, string development techniques with visual explanations.
intermediate sql string