Category "mysql"

MySQL Query error using UNION/UNION ALL and Group By

Generate the following two result sets: 1). Query an alphabetically ordered list of all names in OCCUPATIONS, immediately followed by the first letter of each

java.sql.SQLException: No database selected - why?

the last days I was trying to learn how to access mySQL databases via Java. I am able to load the driver and get a connection to the database ( at least I thin

which shipping mode has the highest number of delayed orders

I'm in the middle of an SQL tutorial, and the question is which shipping mode has the highest number of delayed orders. The code i have tried using is as given

com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure

I'm working on getting my database to talk to my Java programs. Can someone give me a quick and dirty sample program using the JDBC? I'm getting a rather stup

Get specific row col values from mysql using vb 2012

I have one button retrieve I just want to get the database table "account" value by its row and col and display it in a textbox. I keep on getting errors on th

Error import mysql database

i export my database and export to another computer use phpmyadmin but it error, Static analysis: 2 errors were found during analysis. Unexpected character.

How to find the maximum count using mysql?

Please let me know what is wrong with the below command mysql> select max(count(*)) from emp1 group by name; ERROR 1111 (HY000): Invalid use of group functi

MySQL - How do I enter NULL?

In SQL, I know I can do: UPDATE TableA SET MyColumn=NULL But, how do I enter NULL into a cell graphically? I tried entering 'null' and 'NULL' and '' (nothing/e

MySQL - How do I enter NULL?

In SQL, I know I can do: UPDATE TableA SET MyColumn=NULL But, how do I enter NULL into a cell graphically? I tried entering 'null' and 'NULL' and '' (nothing/e

MySQL - How do I enter NULL?

In SQL, I know I can do: UPDATE TableA SET MyColumn=NULL But, how do I enter NULL into a cell graphically? I tried entering 'null' and 'NULL' and '' (nothing/e

What's the difference between " = null" and " IS NULL"?

What is the difference between "=null" and "IS NULL"? How are they used differently?

What's the difference between " = null" and " IS NULL"?

What is the difference between "=null" and "IS NULL"? How are they used differently?