phpMyAdmin
 sql >> Baza danych >  >> Database Tools >> phpMyAdmin

podczas eksportowania danych z phpmyadmina powraca do strony zapytań sql

Usuń aliasy tabel (użyj prawdziwych nazw tabel)

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. SQL Server / PHP / Web Based Admin Tool - Jakie są niektóre podobne do phpmyadmina narzędzia dla SQL Server?

  2. Problem z MySQL:Tabela „data_dictionary.CHARACTER_SETS” nie istnieje

  3. Import/eksport baz danych z jednego komputera na drugi

  4. Połączenie dla użytkownika kontrolnego zdefiniowanego w konfiguracji nie powiodło się. xampp

  5. phpmyadmin nie może otworzyć widoku przeglądania tabeli