Union select null, null, null, null, null, null, null from information_schema.tables. for a small database containing three tables. this instruction is used in sql injection I tried it and it worked but I didn't really know how it works can somebody help me...
SELECT * FROM `mydata`.`mytable` WHERE CONCAT(<list of columns>) IS NOT NULL. All we are missing now is the list of nullable columns, comma-separated. We're going to use the GROUP_CONCAT function to produce the final statement, which we will execute like this
Строго говоря, NULL-значение вовсе не представлено в поле. Когда значение поля есть NULL — это значит, что программа базы данных специальным образом помечает поле, как не содержащее какого-либо значения для данной строки (записи).
Note: A NULL value is different from a zero value or a field that contains spaces. A field with a NULL value is one that has been left blank during record creation!
Если значение expression равно NULL, IS NULL возвращает TRUE; в противном случае возвращается значение FALSE.If the value of
NULL is special in SQL. NULL indicates that the data is unknown, inapplicable or even does not exist. In other words, NULL represents that the data is missing in the database. For example, if an employee does not have any phone number, you can store it as an empty string.
Label: (null) UUID: 43b52eba-d9c6-4aa0-a4af-026d720bd2d9 Node size: 16384 Sector size: 4096 Filesystem size: 8.00GiB Block group profiles: Data: single 8.00MiB Metadata: single 8.00MiB System: single
Существуют специальные операторы IS NULL и IS NOT NULL, которые позволяют производить сравнения с NULLами.
The result is NULL if the argument is NULL or not a valid base-64 string. See the description of TO_BASE64() for details
NULL в Системах управления базами данных (СУБД) — специальное значение (псевдозначение), которое может быть записано в поле таблицы базы данных (БД). NULL соответствует понятию «пустое поле», то есть «поле, не содержащее никакого значения».