phpMyAdmin
 sql >> Teknologi Basis Data >  >> Database Tools >> phpMyAdmin

saat mengekspor data dari phpmyadmin kembali ke halaman kueri sql

Hapus alias tabel (gunakan nama tabel asli)

SELECT
    sales_flat_order_address.firstname,
    sales_flat_order_address.lastname,
    sales_flat_order.base_total_invoiced,
    sales_flat_order_address.email,
    sales_flat_order_address.telephone,
    sales_flat_order_address.postcode,
    sales_flat_order_address.street,
    sales_flat_order_address.locality,
    sales_flat_order_address.city
FROM sales_flat_order_address
INNER JOIN customer_address_entity
    ON sales_flat_order_address.entity_id = customer_address_entity.entity_id
INNER JOIN pincode_24_11_2015
    ON sales_flat_order_address.postcode = pincode_24_11_2015.pincode
INNER JOIN pincode_city_state_map
    ON pincode_24_11_2015.pincode_id = pincode_city_state_map.pincode_id
INNER JOIN city
    ON pincode_city_state_map.city_id = city.city_id
INNER JOIN sales_flat_order
    ON sales_flat_order_address.entity_id = sales_flat_order.entity_id
WHERE sales_flat_order_address.city = "Pune" 
    AND customer_address_entity.created_at BETWEEN "2015-01-01 00:00:00" AND "2016-01-07 00:00:00";



  1. DBeaver
  2.   
  3. phpMyAdmin
  4.   
  5. Navicat
  6.   
  7. SSMS
  8.   
  9. MySQL Workbench
  10.   
  11. SQLyog
  1. Fungsi Buatan Pengguna MySQL untuk Sintaks Lintang Bujur

  2. Pernyataan Pembaruan MySQL:'tabel' tidak dikenal di 'daftar bidang'

  3. MySQL LOAD DATA LOCAL INFILE hanya mengimpor satu baris

  4. Cara export di phpmyadmin tidak menyertakan kolom id (kolom AUTO_INCREMENT)

  5. Bagaimana saya bisa mengotomatiskan ekspor database mySQL menggunakan phpMyAdmin