Useful tips for everyday
How do I find duplicate values in a column in PostgreSQL? In order to find duplicate values you should run, SELECT year, COUNT(id) FROM YOUR_TABLE…
How do I compare two database structures in MySQL? Getting data differences of two MySQL databases Select the databases you want to compare in the…
Does join come before WHERE? The query processor first gets the left table (table1) Joins the second table (table2) and forms a cartesian product before…
How to obtain the deadlock graph in SQL? How to obtain the deadlock graph. The easiest way to obtain the deadlock graph is by using…
Why index is used in MySQL? Indexes are used to find rows with specific column values quickly. Without an index, MySQL must begin with the…
How do I edit a dump file in Oracle? Editing a Dump dmp File Export the file as normal. Make backup copies of the resulting…
What language does Microsoft SQL Server use? Microsoft SQL Server Developer(s) Microsoft Initial release April 24, 1989, as SQL Server 1.0 Stable release SQL Server…
When is an expression evaluated before a case statement? In some situations, an expression is evaluated before a CASE statement [sic!] receives the results of…
How to convert a varbinary to A varchar in SQL Server? “Converting a varbinary to a varchar” can mean different things. If the varbinary is…
Why are my PostgreSQL queries taking so long? These queries will point to whatever is blocking a specific PID that’s provided. With that, a decision…