Latest questions in Database

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 in Database by Omaiz
• 560 points
18 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 in Database by Omaiz
• 560 points
16 views
0 votes
1 answer

How to connect to MySQL Database?

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

Oct 11 in Database by Omaiz
• 560 points
23 views
0 votes
1 answer

Which is better database vs. flat files?

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

Oct 11 in Database by Omaiz
• 560 points
13 views
0 votes
1 answer

Reorder or reset auto increment primary key

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

Oct 4 in Database by Daric
• 500 points
23 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 in Database by Daric
• 500 points
14 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 in Database by Daric
• 500 points
18 views
0 votes
1 answer

How does database indexing work

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

Oct 4 in Database by Daric
• 500 points
17 views
0 votes
1 answer

Can we store images in database

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

Oct 4 in Database by Daric
• 500 points
18 views
0 votes
1 answer

showing an error in a MySQL trigger

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

Sep 27 in Database by Omaiz
• 560 points
19 views
0 votes
1 answer

How do I reset a sequence in Oracle?

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

Sep 27 in Database by Omaiz
• 560 points
18 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 in Database by Omaiz
• 560 points
18 views
0 votes
1 answer

Why is SELECT * considered harmful?

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

Sep 27 in Database by Omaiz
• 560 points
31 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 in Database by Omaiz
• 560 points
16 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 in Database by Raghu
29 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 in Database by Sonali
38 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 in Database by Reshma
68 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 in Database by sampriti
• 1,100 points
28 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 in Database by sampriti
• 1,100 points
60 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 in Database by anonymous
52 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 in Database by sampriti
• 1,100 points
50 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 in Database by sampriti
• 1,100 points
35 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 in Database by sampriti
• 1,100 points
77 views
0 votes
1 answer

How to sort the data in sql ?

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

May 29 in Database by sampriti
• 1,100 points
30 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 in Database by sampriti
• 1,100 points
45 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 in Database by sampriti
• 1,100 points
53 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 in Database by sampriti
• 1,100 points
90 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 in Database by sampriti
• 1,100 points
93 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 in Database by sampriti
• 1,100 points
40 views
0 votes
1 answer

Create new role - postgresql on ubuntu

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

Mar 22 in Database by Danny
52 views
0 votes
1 answer

Access progrs prompt without switching accounts

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

Mar 22 in Database by Mahi
40 views
0 votes
1 answer

Switch to postgresql acoount

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

Mar 22 in Database by Kyraa
32 views
0 votes
1 answer

Install postgreSQL on Ubuntu

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

Mar 22 in Database by Nitesh
55 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 in Database by Manoj
76 views
0 votes
1 answer

What is PostgreSQL?

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

Mar 22 in Database by Manoj
104 views
0 votes
1 answer

How do I install MariaDB on Windows?

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

Mar 22 in Database by Nitin
36 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 in Database by Omkar
• 67,600 points
298 views
0 votes
1 answer

Install DB2 on windows

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

Mar 20 in Database by Kavyashri
395 views
0 votes
1 answer

DB2 installation paths rules

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

Mar 20 in Database by Kyraa
31 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 in Database by Yesha
30 views
0 votes
1 answer

Install DB2 on Ubuntu

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

Mar 20 in Database by Kanika
36 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 in Database by Lindsy
29 views
0 votes
1 answer

Software requirements to install DB2 on Linux

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

Mar 20 in Database by Yamini
31 views
0 votes
1 answer

What are the hardware requirements to install DB2 on Linux?

Hey @Kiran, DB2 Server is available for ...READ MORE

Mar 20 in Database by Kevin
35 views
0 votes
1 answer

Is MariaDB better than MySQL?

Yes ofcourse MariaDB is better than MySQL. ...READ MORE

Mar 18 in Database by Keshav
56 views
0 votes
1 answer

What is MariaDB?

MariaDB is a database management system (DBMS), ...READ MORE

Mar 18 in Database by Janice
70 views
0 votes
1 answer

Log into MariaDB Server as root

To log into the server as root, ...READ MORE

Mar 18 in Database by Gargi
20 views
0 votes
1 answer

Pre-requisites while installing MariaDB on Ubuntu?

The only thing you need to make ...READ MORE

Mar 18 in Database by Janice
51 views
0 votes
1 answer

Verify MariaDB is installed

Once you're done installing, execute the following ...READ MORE

Mar 18 in Database by Kiran
20 views