BitDaddys Corp.
BitDaddys offers msg file solutions!

Email, Database and IT Solutions


Main Menu
Home

Product Sections
Product Locator
Email Utilities
Database Utilities
Other Products

Reference Sections
Articles
MySQL
Outlook - Import EML
.net Network Security
Flash
Fireworks
PHP
DB/C
Java
Email File Extensions
EML email file extension
MSG email file extension
TNEF email file extension
TXT email file extension
HTML email file extension
Java Script

OISV - Organization of Independant Software Vendors - Charter Member

Recommended Links

Get Firefox



Get Thunderbird  

MySQL

Find good sites at
Find good sites at Gimpsy  

 

Web Master:

Keith Birchfield


MSGDETACH
MySQL Data Backup Tool
BitDaddys Corp.
FREE

More Info
Free Download

Automatic Daily MySQL Database backups. Powerful Backup Rotations. more ...
MySQL Tutorials Table Of Contents
Part 1: Start MySQL and Create Databases and Tables (Create)
Part 2: Add Data (Insert and Replace)
Part 3: Show Data (Select)
Part 4: Delete Data (Delete and Drop)
Part 5: Backup Data (Dump)
How to use C# and MySQL Connector/Net

How to use MySQL 5 Part 3: Selecting Data
(greatly simplified)

This article and tutorial describes and demonstrates how you can:

  • [ click here ] Reading an Entire Table With Select *
  • [ click here ] Reading only certain Columns With Select Column_Name
  • [ click here ] Reading only certain Data With Select Where
  • [ click here ] Reading Totals and Similar With Select Sum, Avg, Min, Max, Count

What is the MySQL SELECT Command?

The MySQL SELECT command is how you get information from the tables you create and use. It is the primary way of reading information from your mysql database.

SELECT SYNTAX

How do I read all the data from a MySQL 5 Database Table using the Select Command?

Steps To Read all of theData in a table using the
MySQL SELECT Command

Visual Demonstration
  1. Open the MySQL Command Line and select your database
  2. Type 'SELECT'
  3. Type An asteric for all columns '*'
  4. Type From and your table name 'FROM mytable;'

Syntax:

Select * From MyTable

"SELECT is used to retrieve rows selected from one or more tables, and can include UNION statements and subqueries. ... "

more info...

[ return to top ]


How do I read only certain columns from a MySQL Table?

The MySQL SELECT command can be used to Read specfic information. You don't have to look at every piece of information available, instead you can just look at fields or columns you want to see.

SELECT SYNTAX

Steps To Read Specific Column Data using the
MySQL SELECT Command

Visual Demonstration
  1. Open the MySQL Command Line and select your database
  2. Type 'SELECT'
  3. Type the list of column names you want to see 'id,x'
  4. Type From and your table name 'FROM mytable;'

Syntax:

Select Customer_Number,Customer_Name From MyCustomers;

more info...

[ return to top ]


How do I read only certain rows of data from a MySQL Table?

The MySQL SELECT command can be used to Read specfic rows. You don't have to look at every line of information available, instead you can just look at rows you want to see.

SELECT SYNTAX

Steps To Read Specific Row Data using the
MySQL SELECT Command With WHERE

Visual Demonstration
  1. Open the MySQL Command Line and select your database
  2. Type 'SELECT'
  3. Type the list of column names you want to see 'id,x'
  4. Type From and your table name 'FROM mytable'
  5. Type Where and your criteria 'WHERE id>102;'

Syntax:

Select Customer_Number,Customer_Name From MyCustomers Where Customer_Number>100;

You can use compartive operators like:

  • > (greater than)
  • < (less than)
  • = (equals)
  • != (not equal)
  • >= (greater than or equal)
  • <= (less than or equal)

more info...

[ return to top ]


How do I read and aggregate certain columns in a MySQL Table?

The MySQL SELECT command can be used to Read specfic information. You can do things like get totals, count how many items are available, get the smallest item, get the largest column and even average a field.

SELECT SYNTAX

Steps To Read and Perform Specific Functions on Column Data using the
MySQL SELECT Command

Visual Demonstration
  1. Open the MySQL Command Line and select your database
  2. Type 'SELECT'
  3. Type the aggregate function name and the column name you want to perform the function on 'max(id);'
  4. Type From and your table name 'FROM mytable'

Syntax:

Select Min(Price) From PriceList Where Item='Books';

or

Select Count(*) From MyCustomers;

or

Select Sum(Amount) From Sales Where ItemSold='Pizza'';

Aggregate (also known as Summary) functions include:

  • min (minimum)
  • max (maximum)
  • avg (avergage)
  • count (count)
  • sum (total)

more info...

[ return to top ]

 

@bitdaddys

Highlighted Products
Email Pack

Email Pack
BitDaddys Corp.
$39.95

More Info
Buy Now!

Email conversion and action pack. Get all of our powerful email utilities for one very low price! more ...

MSGDETACH
MySql Excel Exporter
BitDaddys Corp.
FREE

More Info
Free Download
Create Excel Spreadsheets from your MySQL data. more ...

emltohtml
BitDaddys Corp.
$14.00

More Info
Free Trial
Buy Now!
Convert eml Email Files into HTML Web Pages and more ...

O2X
ODBC 2 C#
BitDaddys Corp.
$5.00

More Info
Free Trial
Buy Now!
Convert ODBC table information into a c# class and a ready to use Visual Studio 2003 project more ...

outlook EML and MSG converter
BitDaddys Corp.
$14.00

More Info
Free Trial
Buy Now!
Convert eml and msg Files into EML, MSG,TXT, TNEF, HTML ( requires Outlook ) more ...

MSGDETACH
mboxPack
BitDaddys Corp.
$10.00

More Info
Free Trial
Buy Now!
Pack email files into mbox files. Plain text, individual eml,msg,txt files to Thunderstor compatable and ready to use mbox more ...

EMLDETACH
email Open View Pro
BitDaddys Corp.
$19.95

More Info
Trial Version
Buy Pro Now!
View .msg and .eml Email Files Print email. Extract Attachments. Convert to PDF, BMP, GIF, JPG and more ...

EMLDETACH
EMLDETACH
BitDaddys Corp.
$14.00

More Info
Free Trial
Buy Now!
Detach Email Attachments from your .eml files and Save them wherever you want! Extract your message attachments from eml files. more ...

CSV2DG
CSV2DG
BitDaddys Corp.
$10.00

More Info
Free Trial
Buy Now!
Create, Edit, Import and Display CSV ( Comma Separated Values) files in an easy to use Data Grid with the ability to print, launch Excel or even launch a custom application. This application allows for quick edit and display of csv data in a format that allows for easy viewing, sorting and printing. You can also customize the apparent program name, company name, report title and visible options more...




About Us | Site Map | Privacy | Contact Us |
©2004-2011 BitDaddys Corp.