Search results
SQL Handwritten Notes Repository: A collection of PDF notes covering SQL concepts with concise definitions and examples. Explore fundamental commands, date/time functions, joins, and more. Contributions welcome!
SQL is a standard language for storing, manipulating and retrieving data in databases. Our SQL tutorial will teach you how to use SQL in: MySQL, SQL Server, MS Access, Oracle, Sybase, Informix, Postgres, and other database systems. Start learning SQL now »
1 cze 2021 · USEFUL FUNCTIONS. Get the count of characters in a string: SELECT LENGTH('LearnSQL.com'); -- result: 12. Convert all letters to lowercase: SELECT LOWER('LEARNSQL.COM'); -- result: learnsql.com. Convert all letters to uppercase: SELECT UPPER('LearnSQL.com'); -- result: LEARNSQL.COM.
Download this eBook for free Chapters. Chapter 1: Getting started with SQL; Chapter 2: ALTER TABLE; Chapter 3: AND & OR Operators; Chapter 4: Cascading Delete; Chapter 5: CASE; Chapter 6: Clean Code in SQL; Chapter 7: Comments; Chapter 8: Common Table Expressions; Chapter 9: CREATE Database; Chapter 10: CREATE FUNCTION; Chapter 11: CREATE TABLE
1 cze 2021 · Standard SQL Functions Cheat Sheet. TEXT FUNCTIONS. CONCATENATION. Use the || operator to concatenate two strings: SELECT 'Hi ' || 'there!'; -- result: Hi there! Remember that you can concatenate only character strings using. ||. Use this trick for numbers: SELECT '' || 4 || 2;
* Powerful, database-specific features such as SQL Server's PIVOT and UNPIVOT operators, Oracle's MODEL clause, and PostgreSQL's very useful GENERATE_SERIES function * Pivoting rows into columns, reverse-pivoting columns into rows, using pivoting to facilitate inter-row calculations, and double-pivoting a result set
This document summarizes built-in SQL functions in Oracle. It covers character functions that return character and numeric values, numeric functions, date functions, conversion functions, group functions, and other miscellaneous functions.