Trending questions in Database

0 votes
1 answer

Excel - Split cell with a delimiter and if delimiter not found get complete cell value to another cell

Select the row or column that you ...READ MORE

Feb 23, 2022 in Database by gaurav
• 23,260 points
737 views
0 votes
0 answers

What's the difference between a temp table and table variable in SQL Server?

We can build temp tables in SQL ...READ MORE

Feb 25, 2022 in Database by Vaani
• 7,070 points
640 views
0 votes
1 answer

SQL Server replaces LEFT JOIN for LEFT OUTER JOIN in view query

You are getting the joins confused and ...READ MORE

Feb 4, 2022 in Database by Neha
• 9,020 points
1,509 views
0 votes
1 answer

SQL count rows in a table

A fast way of doing this would ...READ MORE

Feb 21, 2022 in Database by Neha
• 9,020 points
758 views
0 votes
1 answer

What is "with (nolock)" in SQL Server?

Using READ UNCOMMITED as a transaction isolation ...READ MORE

Feb 21, 2022 in Database by Neha
• 9,020 points
741 views
0 votes
1 answer

What is the difference between SQL, PL-SQL and T-SQL?

SQL SQL is the standard language for relational ...READ MORE

Feb 16, 2022 in Database by Vaani
• 7,070 points
930 views
0 votes
1 answer

Converting HTML to Excel? [closed]

Upload html-file(s) Select files from Computer, Google ...READ MORE

Feb 23, 2022 in Database by gaurav
• 23,260 points
605 views
0 votes
1 answer

Syntax of for-loop in SQL Server

TSQL has no for-loop, we have only ...READ MORE

Feb 15, 2022 in Database by Neha
• 9,020 points
932 views
0 votes
0 answers

What is "with (nolock)" in SQL Server?

Can someone explain the ramifications of using ...READ MORE

Feb 22, 2022 in Database by Vaani
• 7,070 points
641 views
0 votes
0 answers

Duckworth-Lewis-Stern calculator to calculate the revised target

With the Cricket World Cup going on, ...READ MORE

Feb 24, 2022 in Database by Edureka
• 13,690 points
559 views
0 votes
0 answers

What is the definition of cardinality in SQL?

My book definition of Database Systems does ...READ MORE

Feb 18, 2022 in Database by Neha
• 9,020 points
807 views
0 votes
1 answer

What is the difference between HAVING and WHERE in SQL?

HAVING: It is used to check after the aggregation ...READ MORE

Feb 17, 2022 in Database by Vaani
• 7,070 points
798 views
0 votes
1 answer

Group by Sum in Excel

It is very easy and you can ...READ MORE

Feb 21, 2022 in Database by gaurav
• 23,260 points
602 views
0 votes
1 answer

Inserting multiple rows in a single SQL query?

In SQL Server 2008, multiple rows can ...READ MORE

Feb 10, 2022 in Database by Vaani
• 7,070 points
1,061 views
0 votes
0 answers

SELECT.... WHERE... OR

Is there a method to choose data ...READ MORE

Feb 25, 2022 in Database by Vaani
• 7,070 points
427 views
0 votes
1 answer

How do I use ROW_NUMBER()?

You can use the query as: SELECT COUNT(*) ...READ MORE

Feb 21, 2022 in Database by Vaani
• 7,070 points
566 views
0 votes
0 answers

Select .... where .... OR?

Is there a method to choose data ...READ MORE

Feb 24, 2022 in Database by Hemant
• 140 points
370 views
0 votes
0 answers

Testing question and answer

This category discusses everything related to SQL/ ...READ MORE

Feb 24, 2022 in Database by anonymous
• 140 points
374 views
0 votes
1 answer

What are DDL and DML?

SQL Commands have subcategories like DDL, DML, DCL ...READ MORE

Feb 8, 2022 in Database by Vaani
• 7,070 points
982 views
0 votes
1 answer

How would I find the second largest salary from a employee table? [closed]

To find the 2nd largest salary from ...READ MORE

Feb 8, 2022 in Database by Vaani
• 7,070 points
978 views
0 votes
1 answer

How to do version control for SQL Server database?

Not only can you compare objects at ...READ MORE

Feb 15, 2022 in Database by Neha
• 9,020 points
659 views
0 votes
1 answer

How to delete duplicate rows in SQL Server?

CTEs and ROW_NUMBER can be combined together which will ...READ MORE

Feb 10, 2022 in Database by Vaani
• 7,070 points
834 views
0 votes
1 answer

What is a stored procedure?

A stored procedure is a set of ...READ MORE

Feb 4, 2022 in Database by Neha
• 9,020 points
1,075 views
0 votes
0 answers

SQL: Display Full Name + Filter By Subject

Feb 22, 2022 in Database by Neha
• 9,020 points
304 views
0 votes
1 answer

SQL WITH clause example

Oracle introduced the SQL WITH clause in ...READ MORE

Feb 17, 2022 in Database by Neha
• 9,020 points
474 views
0 votes
1 answer

How to rename a column in a database table using SQL?

For SQL Server, use sp_rename USE AdventureWorks; GO EXEC sp_rename 'Customers.CustomerTerritory.TerritoryID', ...READ MORE

Feb 9, 2022 in Database by Neha
• 9,020 points
779 views
0 votes
0 answers

Selecting COUNT(*) with DISTINCT

In SQL Server 2005, I have a ...READ MORE

Feb 14, 2022 in Database by Neha
• 9,020 points
509 views
0 votes
1 answer

NOT IN vs NOT EXISTS

In my opinion, the most efficient way ...READ MORE

Feb 11, 2022 in Database by Neha
• 9,020 points
602 views
0 votes
1 answer

SQL Server CASE .. WHEN .. IN statement

Two forms of CASE statements are getting ...READ MORE

Feb 8, 2022 in Database by Vaani
• 7,070 points
710 views
0 votes
1 answer

Should I use != or <> for not equal in T-SQL?

Most of the existing databases support != Databases that ...READ MORE

Feb 14, 2022 in Database by Vaani
• 7,070 points
451 views
0 votes
1 answer

SQL Group By with an Order By

In any version of MySQL, you can use the aggregate ...READ MORE

Feb 10, 2022 in Database by Vaani
• 7,070 points
619 views
0 votes
2 answers

Case in Select Statement

I think these could be helpful for ...READ MORE

Feb 4, 2022 in Database by Neha
• 9,020 points
776 views
0 votes
1 answer

How do I UPDATE from a SELECT in SQL Server?

MERGE INTO YourTable T USING ...READ MORE

Feb 3, 2022 in Database by Vaani
• 7,070 points
837 views
0 votes
1 answer

What do you mean by Clustered and Non-Clustered index?

The rows in a clustered index are ...READ MORE

Feb 10, 2022 in Database by Vaani
• 7,070 points
511 views
0 votes
1 answer

What is an index in SQL?

An index is used to speed up ...READ MORE

Feb 3, 2022 in Database by Vaani
• 7,070 points
695 views
0 votes
0 answers

How do I UPDATE from a SELECT in SQL Server?

INSERT INTO Table (col1, col2, col3) SELECT col1, ...READ MORE

Feb 4, 2022 in Database by Vaani
• 7,070 points
561 views
0 votes
0 answers

how to create a SQL table?

Feb 1, 2022 in Database by Neha
• 9,020 points
460 views
0 votes
0 answers

how to use sql server management studio

Jan 31, 2022 in Database by Neha
• 9,020 points
363 views
0 votes
0 answers

How to add constraints in SQL?

Jan 31, 2022 in Database by Neha
• 9,020 points
360 views
0 votes
0 answers

what does sql stand for?

Feb 1, 2022 in Database by Neha
• 9,020 points
259 views
0 votes
2 answers

Write a SQL query to find the names of employees that begin with ‘S’

Select ename From emp Where ename like"s%"; READ MORE

Oct 7, 2021 in Database by anonymous
27,307 views
0 votes
2 answers

Difference between primary key a composite key

candidate  key: It is the collection of ...READ MORE

Oct 14, 2020 in Database by anonymous
31,351 views
0 votes
3 answers

MySQL "Could not create connection to database serve" error

Pls check that you have MySQL server ...READ MORE

Jul 3, 2020 in Database by anonymous
29,987 views
0 votes
2 answers

How to select the nth row in a SQL database table?

SELECT * FROM ( SELECT ID, NAME, ROW_NUMBER() ...READ MORE

Apr 23, 2020 in Database by anand
• 140 points
26,450 views
0 votes
1 answer

Error:Cannot resolve the collation conflict between "SQL_Latin1_General_CP1_CI_AS" and "Arabic_CI_AS" in the equal to operation.

Hello @kartik, You can resolve the issue by ...READ MORE

May 13, 2020 in Database by Niroj
• 82,840 points
20,633 views
0 votes
1 answer

MySQL Error: : 'Access denied for user 'root'@'localhost'

Hello @kartik, I did this to set my ...READ MORE

May 4, 2020 in Database by Niroj
• 82,840 points
18,471 views
0 votes
1 answer

/opt/mssql/bin/mssql-conf: command not found in Ubuntu 20.04

Hello @netwell, You need to have at least 3.25 ...READ MORE

Oct 19, 2020 in Database by Niroj
• 82,840 points
6,812 views
0 votes
1 answer

Updating multiple records in this year with information held in previous year.

Hello, For your query you can refer this:https://www.plus2net.com/sql_tutorial/sql_update.php Hope ...READ MORE

Nov 9, 2020 in Database by Niroj
• 82,840 points
860 views
0 votes
1 answer

How does Docker CLI connects with DB?

To connect Docker CLI with a Database, ...READ MORE

Oct 19, 2020 in Database by lyana
838 views
0 votes
0 answers

How to Secure Postgres in cilium like Cassanda.

I want help in writing  code in ...READ MORE

Oct 14, 2020 in Database by Aryan
• 190 points
941 views