Most voted questions in Database

+2 votes
1 answer

How to export data from MySql to a CSV file?

If you are using MySql workbench then ...READ MORE

Jan 4, 2019 in Database by Priyaj
• 57,510 points
106 views
+1 vote
0 answers

What are the advantages of SQL? [closed]

Dec 27, 2019 in Database by Yuth
• 130 points

closed Dec 30, 2019 by Kalgi 47 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
94 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
78 views
+1 vote
1 answer

What are the features of MySQL?

The features of MySQL are as follows: Ease ...READ MORE

Dec 12, 2018 in Database by DataKing99
• 8,130 points
584 views
+1 vote
1 answer

What are the data types in MySQL?

The Data Types of MySQL are as ...READ MORE

Dec 12, 2018 in Database by DataKing99
• 8,130 points
69 views
+1 vote
1 answer

What is the AND operator?

The AND operator is used to filter ...READ MORE

Nov 30, 2018 in Database by Sahiti
• 6,290 points
75 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
241 views
+1 vote
1 answer

Difference between cross join and natural join

The cross join produces the cross product ...READ MORE

Oct 12, 2018 in Database by DataKing99
• 8,130 points
3,954 views
+1 vote
1 answer

DELETE vs TRUNCATE vs DROP command

After the execution of ‘DELETE’ operation, COMMIT ...READ MORE

Aug 23, 2018 in Database by CodingByHeart77
• 3,710 points
384 views
+1 vote
1 answer

Cursor and Its Types

The cursor is a temporary work area ...READ MORE

Aug 9, 2018 in Database by CodingByHeart77
• 3,710 points
47 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
108 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
76 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
86 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
47 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
69 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
60 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
63 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
30 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
42 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
40 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
150 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
55 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
40 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
58 views
0 votes
0 answers

Which SQL server should we use for SQL queries to be executed?

I mean to say which SQL server ...READ MORE

Aug 17, 2019 in Database by Sonali
52 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
211 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
43 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
93 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
53 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
120 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
46 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
64 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
79 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
128 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
129 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
68 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
64 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
56 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
47 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
82 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
124 views
0 votes
1 answer

What is PostgreSQL?

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

Mar 22, 2019 in Database by Manoj
147 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
82 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,880 points
575 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
618 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