Most answered questions in Database

0 votes
3 answers

What is Phantom deadlock?

To understand phantom deadlock, you need an ...READ MORE

Feb 13, 2019 in Database by Ravi kumar
2,447 views
0 votes
2 answers

Why is SELECT * table_name; is considered harmful?

Hi. Adding to @Tina's answer, there is ...READ MORE

Sep 23, 2019 in Database by Raghu
54 views
0 votes
2 answers

How to create a shared database for users for different systems to connect to a single database in another system.?

Like Omkar said, while presenting your project ...READ MORE

Mar 18, 2019 in Database by Vardhan
• 13,070 points
92 views
0 votes
2 answers

MySQL "Could not create connection to database serve" error

When I am trying to connect netbeans ...READ MORE

Apr 14, 2019 in Database by anonymous

edited Apr 15, 2019 by Kalgi 4,080 views
+1 vote
2 answers

Difference between SQL and PL/SQL

In Oracle database administration, there are two ...READ MORE

Sep 25, 2019 in Database by gautham
227 views
0 votes
2 answers

Advantages and Disadvantages of Stored Procedure

https://www.quora.com/What-are-the-advantages-of-using-an-SQL-stored ...READ MORE

Apr 29, 2019 in Database by anonymous
6,133 views
0 votes
2 answers

Types of relationships in Database

There are 3 types of relationships in ...READ MORE

Aug 16, 2018 in Database by zombie
• 3,750 points
66 views
0 votes
2 answers

SQL vs NoSQL

Well, it depends on what you are ...READ MORE

Aug 10, 2018 in Database by slayer
• 29,260 points
85 views
0 votes
2 answers

Durable Writes in Cassandra

When Cassandra write: 1. memtable (in memory) 2. commit ...READ MORE

Nov 25, 2018 in Database by Amit
• 180 points
1,852 views
0 votes
1 answer

Which is the Preferred Method of Storing Passwords In Database?

Generally, we can use the sha hash ...READ MORE

Oct 11, 2019 in Database by Omaiz
• 560 points
97 views
0 votes
1 answer

Query to list number of records in each table in a database

Use the below code to list number of ...READ MORE

Oct 11, 2019 in Database by Omaiz
• 560 points
68 views
0 votes
1 answer

How to connect to MySQL Database?

Firstly you must download the MySQLConnection NET ...READ MORE

Oct 11, 2019 in Database by Omaiz
• 560 points
77 views
0 votes
1 answer

Which is better database vs. flat files?

Difference between database and flat files are ...READ MORE

Oct 11, 2019 in Database by Omaiz
• 560 points
45 views
0 votes
1 answer

Reorder or reset auto increment primary key

To reset the IDs of my User ...READ MORE

Oct 4, 2019 in Database by Daric
• 500 points
57 views
0 votes
1 answer

How to check if a table exists in a given schema

Since you havent mentioned the DBMS in ...READ MORE

Oct 4, 2019 in Database by Daric
• 500 points
53 views
0 votes
1 answer

MySQL query finding values in a comma separated string

To find MySQL query values in a comma-separated ...READ MORE

Oct 4, 2019 in Database by Daric
• 500 points
58 views
0 votes
1 answer

How does database indexing work

If you have a book about dogs ...READ MORE

Oct 4, 2019 in Database by Daric
• 500 points
28 views
0 votes
1 answer

Can we store images in database

Beware that serving images from DB is ...READ MORE

Oct 4, 2019 in Database by Daric
• 500 points
39 views
0 votes
1 answer

showing an error in a MySQL trigger

use this code: CREATE TRIGGER sample_trigger_msg ...READ MORE

Sep 27, 2019 in Database by Omaiz
• 560 points
37 views
0 votes
1 answer

How do I reset a sequence in Oracle?

 If you want to set it to ...READ MORE

Sep 27, 2019 in Database by Omaiz
• 560 points
37 views
0 votes
1 answer

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

To select nth row type the below ...READ MORE

Sep 27, 2019 in Database by Omaiz
• 560 points
105 views
0 votes
1 answer

Why is SELECT * considered harmful?

If you add fields to the table, ...READ MORE

Sep 27, 2019 in Database by Omaiz
• 560 points
51 views
0 votes
1 answer

Which is faster/best? SELECT * or SELECT col1, col2,......colN

There are four big reasons that select * is ...READ MORE

Sep 27, 2019 in Database by Omaiz
• 560 points
36 views
0 votes
1 answer

How to load data of .csv file in MySQL Database Table?

At first, put the dataset in the ...READ MORE

Jul 5, 2019 in Database by Reshma
187 views
0 votes
1 answer

How can I change my existing database name?

Hey Partha, I understand your problem, I think this ...READ MORE

Jul 4, 2019 in Database by sampriti
• 1,100 points
40 views
+1 vote
1 answer

Do I need to mention primary key for each table?

Hi Pritha, First, there is no hard and ...READ MORE

Jul 4, 2019 in Database by sampriti
• 1,100 points
83 views
0 votes
1 answer

What is the rule to use group by, having and where clause?

Hi samar, this is a very common mistake ...READ MORE

Jul 2, 2019 in Database by anonymous
82 views
+1 vote
1 answer

How can I reset my auto_increment column in MYSQL?

Hi Pratim, I understand your issue. I think you ...READ MORE

Jul 1, 2019 in Database by sampriti
• 1,100 points
73 views
0 votes
1 answer

How can I check my all existing table in MySQL database?

Hi Pratik, I understand your problem regarding this ...READ MORE

Jul 1, 2019 in Database by sampriti
• 1,100 points
50 views
0 votes
1 answer

Can you explain what is the difference between UNION and Join?

Hi Sahana,  I got your doubt, Checkout these ...READ MORE

May 30, 2019 in Database by sampriti
• 1,100 points
114 views
0 votes
1 answer

How to sort the data in sql ?

Hi Akash,  If you want to sort ...READ MORE

May 29, 2019 in Database by sampriti
• 1,100 points
44 views
0 votes
1 answer

Do I need to add primary key in each and every table?

Hi Shraddha, You have a doubt to add ...READ MORE

May 29, 2019 in Database by sampriti
• 1,100 points
61 views
0 votes
1 answer

How will I get all the rows from my table where name starts with 's' and ending with 'I'?

Hi Santanu, I understand your problem, You can try ...READ MORE

May 28, 2019 in Database by sampriti
• 1,100 points
75 views
0 votes
1 answer

Can you please explain the difference between inner join and outer join in database?

Hi Suraj, You have a doubt regarding inner join ...READ MORE

May 28, 2019 in Database by sampriti
• 1,100 points
121 views
0 votes
1 answer

What are the different types of join in SQL?

Hi Suraj, You have a doubt regarding inner join ...READ MORE

May 28, 2019 in Database by sampriti
• 1,100 points
124 views
0 votes
1 answer

What is the best way to fetch data from table?

Hey Shraddha, I understand your doubts about fetching ...READ MORE

May 24, 2019 in Database by sampriti
• 1,100 points
63 views
0 votes
1 answer

Create new role - postgresql on ubuntu

If you are logged in as the postgres account, ...READ MORE

Mar 22, 2019 in Database by Danny
62 views
0 votes
1 answer

Access progrs prompt without switching accounts

Use the following to get the postgres prompt ...READ MORE

Mar 22, 2019 in Database by Mahi
52 views
0 votes
1 answer

Switch to postgresql acoount

Switch over to the postgres account on your server ...READ MORE

Mar 22, 2019 in Database by Kyraa
46 views
0 votes
1 answer

Install postgreSQL on Ubuntu

Installing PostgreSQL on Ubuntu is very simple, ...READ MORE

Mar 22, 2019 in Database by Nitesh
76 views
0 votes
1 answer

What are the prerequisites to install PostgreSQL on Ubuntu?

Before you start installing postgreSQL, make sure ...READ MORE

Mar 22, 2019 in Database by Manoj
118 views
0 votes
1 answer

What is PostgreSQL?

PostgreSQL, or Postgres, is a relational database ...READ MORE

Mar 22, 2019 in Database by Manoj
140 views
0 votes
1 answer

How do I install MariaDB on Windows?

Hwy @Mike, install the latest stable version ...READ MORE

Mar 22, 2019 in Database by Nitin
75 views
0 votes
1 answer

MSSQL installation fails at mssql-conf setup

Hi @Denis!  The problem has occurred due to the ...READ MORE

Mar 21, 2019 in Database by Omkar
• 68,840 points
548 views
0 votes
1 answer

Install DB2 on windows

Hey @Alok, follow these instructions: On the DB2 ...READ MORE

Mar 20, 2019 in Database by Kavyashri
589 views
0 votes
1 answer

DB2 installation paths rules

These are the following rules you need ...READ MORE

Mar 20, 2019 in Database by Kyraa
41 views
0 votes
1 answer

Restrictions while installing DB2 Server on Linux using DB2 Setup Wizard

Hey it would be helpful if you ...READ MORE

Mar 20, 2019 in Database by Yesha
39 views
0 votes
1 answer

Install DB2 on Ubuntu

Hey @Dipti, follow these steps to install ...READ MORE

Mar 20, 2019 in Database by Kanika
56 views
0 votes
1 answer

Check if my system is compatible with the DB2 Server

Before installing DB2 Server, you need to ...READ MORE

Mar 20, 2019 in Database by Lindsy
36 views
0 votes
1 answer

Software requirements to install DB2 on Linux

Before installing the DB2 server, your system ...READ MORE

Mar 20, 2019 in Database by Yamini
41 views