Archive

Posts Tagged ‘SQL’

MySQL Transpose Row Into Column

Image representing MySQL as depicted in CrunchBase

Image via CrunchBase

This article explain how to transpose a MySQL table from row to column. Suppose that you have a sales table per item per retail outlet per sales date like this:

Original Sales Table

Then, you need to show the total sales per item per retail outlet like the following:

Read more…

  • Share/Bookmark
Categories: MySQL Tags: , ,

Menguasai Structured Query Language (SQL)

(My)SQL geek

Image by lilit via Flickr

Database, tabel, baris, dan kolom

Dalam konteks bahasa SQL, pada umumnya informasi tersimpan dalam tabel-tabel yang secara logik merupakan struktur 2 dimensi yang terdiri dari baris-baris data (row atau record) yang berada dalam satu atau lebih kolom (column). Baris pada tabel sering disebut sebagai instance dari data sedangkan kolom sering disebut sebagai attributes atau field. Read more…

  • Share/Bookmark

Restore MySQL database, stored procedure missing ?

Backing up and Restoring mysql database could be done through several ways. You can backup and restore by exporting SQL script using MySQL command line or copying MySQL data directory from the original server to the destination server.

Using the second method will cause the stored procedure and function missing. In this article we will discuss how to overcome the situation.

Read more…

  • Share/Bookmark

Ikutilah Seminar GPS! "MEMBONGKAR RAHASIA BISNIS GPS TRACKING" - Pembicara : Ir. Akhmad Daniel Sembiring (CEO Vitraining.com & GpsTrackingIndonesia.com) - Bandung, Sabtu 25 September 2010 - Hotel Arion Swiss - Belhotel, Jl. Otto Iskandardinata No. 16 Bandung - Biaya Pendaftaran : 2 Jt (sebelum 18 September 2010 HANYA 1 Jt) - Register ONLINE : seminar-gps.vitraining.com - More Info e-mail to : info@gpstrackingindonesia.com

This site uses a Hackadelic PlugIn, Hackadelic SEO Table Of Contents 1.6.0.