-
MY PROJECTS
-
Recent Posts
- SQL.How can you compare two nullable values safely, and how does IS DISTINCT FROM differ from <>?
- SQL.How are NULL values ordered by ORDER BY, how do defaults differ between databases, and how can you control their placement?
- SQL.How does NULL propagate through arithmetic expressions, and how can COALESCE and NULLIF help handle missing values and division by zero?
- SQL.How does NULL affect join conditions, and why can filtering the right-hand table in WHERE remove unmatched rows from a LEFT JOIN?
- SQL.How do GROUP BY and DISTINCT treat NULL values, even though NULL = NULL evaluates to UNKNOWN?
- SQL.How do aggregate functions handle NULL, and what is the difference between COUNT(*), COUNT(column), and COUNT(DISTINCT column)?
- SQL.How does NULL affect IN and NOT IN, and why can NOT EXISTS be a safer choice when a subquery returns nullable values?
- SQL.How do WHERE, HAVING, and CHECK constraints treat conditions that evaluate to UNKNOWN?
- SQL.Why do column = NULL and column <> NULL not work as expected, and when should you use IS NULL and IS NOT NULL?
- SQL.What is SQL’s three-valued logic (TRUE, FALSE, UNKNOWN), and how do AND, OR, and NOT behave with UNKNOWN?
- ChromeDevTools.Watch all failed requests
- SQL.What are domain types (or constraints on data types), and how do they help enforce data correctness?
- SQL.How does SQL handle comparisons between different data types (for example, string vs number), and why is this dangerous?
- SQL.What is the difference between DATE, TIME, TIMESTAMP, and TIMESTAMPTZ, and which one should be used for business events?
- SQL.How do numeric types like INTEGER, BIGINT, DECIMAL, and FLOAT differ in terms of precision and use cases?
- SQL.What problems can arise from implicit type casting in SQL, and how can it affect indexes?
- SQL.How does NULL differ from 0, an empty string, or FALSE in SQL?
- SQL.What is the difference between CHAR, VARCHAR, and TEXT, and when would you choose each?
- SQL.What is MVCC ?
- SQL.What is AutoVacuum Postgres ?
Categories
- Aptana
- Azure
- C#
- DataSnap
- DBExpress
- Delphi
- Delphi и сети
- Delphi. Язык программирования
- ExtJS
- FastReport
- FireDAC
- FireMonkey
- GIT
- ICS
- IDE
- IIS
- Indy
- InnoSetup
- javascript
- jQuery
- JSON
- LiveBindings
- MSHTML
- MySQL
- PHP
- REST
- Ribbons
- SMS
- SQL инструкции
- SVN
- TRichView
- UniGui
- WebBroker
- WinAPI
- Windows
- Алгоритмы
- Без рубрики
- Деревья
- Ищу ответ
- Компонентостроение
- Мои компоненты
- Начальный уровень
- Обработка исключений
- Парсинг
- Потоки(Threads)
- Регулярные выражения
- Тестирование приложений
Category Archives: Без рубрики
SQL.What is composite key ?
What is a Composite Key? Definition A composite key is a key made of two or more columns that together uniquely identify a row, while each column alone is not sufficient. It can be: a composite primary key a composite … Continue reading
Posted in Без рубрики
Comments Off on SQL.What is composite key ?
SQL.What is the difference between a primary key, a candidate key, and a unique constraint?
1️⃣ Candidate Key Definition A candidate key is any minimal set of columns that can uniquely identify a row in a table. Properties Uniqueness Minimal (no redundant columns) There can be multiple candidate keys per table Example Candidate keys: id … Continue reading
Posted in Без рубрики
Comments Off on SQL.What is the difference between a primary key, a candidate key, and a unique constraint?
SQL.When we should use relational db and when not ?
When should you use a relational database? Use a relational DB by default unless you have a strong reason not to. ✅ Use a relational DB when: 1️⃣ You need strong consistency & correctness Financial transactions Orders, payments, balances Inventory, … Continue reading
Posted in Без рубрики
Comments Off on SQL.When we should use relational db and when not ?
SQL.What types of databases exists ?
1️⃣ Relational Databases (SQL) Model Tables (rows & columns) Fixed schema Relations via foreign keys ACID transactions Examples PostgreSQL MySQL Oracle SQL Server Best for Business data Financial systems Strong consistency Complex queries & joins Interview keyword “Strong consistency, relational … Continue reading
Posted in Без рубрики
Comments Off on SQL.What types of databases exists ?
SQL.What is SQL, and what does it mean that SQL is a declarative language?
What is SQL? SQL (Structured Query Language) is a standard language used to: Query data from relational databases Modify data (INSERT, UPDATE, DELETE) Define database structure (tables, indexes, constraints) Control access (GRANT, REVOKE) It operates on data stored in tables … Continue reading
Posted in Без рубрики
Comments Off on SQL.What is SQL, and what does it mean that SQL is a declarative language?
SQL.What are the different SQL operators?
As a senior backend engineer, you’re expected to classify operators, not just list random ones. Short interview answer:SQL operators are used in expressions to compare values, filter rows, perform calculations, and combine conditions. They include arithmetic, comparison, logical, set, and … Continue reading
Posted in Без рубрики
Comments Off on SQL.What are the different SQL operators?
Database.JPA Stream vs List: What Actually Happens Under the Hood
Introduction In JPA and Hibernate, repository methods can return either List<DTO> or Stream<DTO>.At first glance, this looks like a minor API choice. In reality, it reflects two fundamentally different data processing models with serious implications for memory usage, GC behavior, … Continue reading
Posted in Без рубрики
Comments Off on Database.JPA Stream vs List: What Actually Happens Under the Hood
Sql.What is SQL?
SQL (Structured Query Language) is a declarative language used to define, query, and manipulate data in relational databases. Interview-friendly one-liner:SQL is a declarative language for working with relational data: you describe what data you want, not how to get it. … Continue reading
Posted in Без рубрики
Comments Off on Sql.What is SQL?
Java.DBMigrationTools.What’s the impact of changing database credentials or URL during migration?
Changing database credentials or the JDBC URL during a migration is riskier than it sounds. The impact depends on when and how you change them, but the common failure mode is schema history divergence and partial application. Here’s how I’d … Continue reading
Posted in Без рубрики
Comments Off on Java.DBMigrationTools.What’s the impact of changing database credentials or URL during migration?
Java.DBMigrationTools.What are common security concerns with migration tools?
Common security concerns with migration tools aren’t about “SQL is scary” — they’re about credentials, privileges, supply chain, and auditability. Here’s what I’d expect you to cover at a senior interview level. 1) Over-privileged migration accounts Risk: Migration user has … Continue reading
Posted in Без рубрики
Comments Off on Java.DBMigrationTools.What are common security concerns with migration tools?