PHP MYSQL запросы в скрипте пхп
23 USDPHP MYSQL запросы в скрипте пхп.
Поменяли базу данных надо написать новые запросы через тимвивер или без доступа к базе.
Задачу буду решать вместе с вами.
Для решения достаточно базовых навакав и знания синтексов.
Задача не сложная просто надо немного вникнуть. тут работы на 1 день.
Образци до и после
До исправления
public static function GetManufs($CType){
if ($CType == 0) {$WHERE = "MFA_PC_CTM>0";
} else {if ($CType == 2) {$WHERE = "MFA_CV_CTM>0";
} else {$WHERE = "MFA_PC_CTM>0 OR MFA_CV_CTM>0";}
}
$SQL = "SELECT MFA_ID, MFA_BRAND, MFA_MFC_CODE, MFA_PC_CTM, MFA_CV_CTM FROM MANUFACTURERS WHERE " . $WHERE . " ORDER BY MFA_BRAND ASC";
$resDB = new TDSQLQuery();
$resDB->QuerySelect($SQL);
return $resDB;
}
Это уже один готовый запрос
public static function GetManufs($CType){
if ($CType == 0) {$WHERE = "MFA_PC_MFC>0";
} else {if ($CType == 2) {$WHERE = "MFA_CV_MFC>0";
} else {$WHERE = "MFA_PC_MFC>0 OR MFA_CV_MFC>0";}
}
$SQL = " SELECT DISTINCT MFA_BRAND, MFA_ID
FROM
MANUFACTURERS
INNER JOIN COUNTRY_RESTRICTIONS ON COUNTRY_RESTRICTIONS.CNTR_ID = MANUFACTURERS.MFA_PC_CTM
WHERE
MANUFACTURERS.MFA_PC = 1
ORDER BY MFA_BRAND ASC";
$resDB = new TDSQLQuery();
$resDB->QuerySelect($SQL);
return $resDB;
}
-
163 1 0 Добрый вечер. Работаю с Laravel 5 лет, опыт работы со стеком PHP+JavaScript+CSS+HTML+MySQL более 7 лет.
Мои последние проекты на Laravel:
https://duckdice.io
https://tower.bet
Оба открываются под ВПН
https://beauty-pos.com
Почасовый рейт 15$/час. Для точной оценки нужно видеть подробное описание объема работ.
…
Если заинтересует предложение - пишите, обсудим детально
-
114 Здравствуйте, готов выполнить данную задачу.
Есть опыт в работе с MYSQL и PHP
-
Добрый день,
Возможно было бы проще получить хотя бы структуру новой БД, раз к ней есть доступ в виде запросов? А после вы уже на этой структуре объясните что и откуда вытягивать.
-
Current freelance projects in the category Databases & SQL
Need a Power BI specialist to build management reporting based on BAS Accounting CORPAbout the CompanyWe are a distributor of international sports brands in Ukraine. Accounting is maintained in BAS Accounting CORP.We are looking for a specialist who can help build a management reporting system for the company's management based on Power BI.Important: we are… Databases & SQL, Accounting Services ∙ 2 days 14 hours back ∙ 4 proposals |
Technical task: Integration of Telegram chatbot with BAS1. General Description It is necessary to implement the integration of the chatbot with the BAS system for the transfer and recording of data about products (orders). 2. Input Data (sent by the chatbot): Group ID Product name (with product code) Product price 3. Logic of… Enterprise Resource Planning (ERP), Databases & SQL ∙ 2 days 17 hours back ∙ 18 proposals |
1C data integrationOrganize quality preparation and data transfer from 1C to BigQuery for further use in Looker:Organize the data according to the required fields.Prepare a clear structure of tables and intermediate datasets on which dashboards will be built.Set up data loading, gather key… Databases & SQL, Data Processing ∙ 4 days 8 hours back ∙ 9 proposals |
Development of a simple controlling and management record system in Google Sheets "turnkey"Task name: Development of a simple controlling and management record system in Google Sheets "turnkey" for a construction company in Poland (+ online training and implementation assistance) About the company, context, and my main problem Hello, I am looking for an experienced… Databases & SQL, Accounting Services ∙ 5 days 13 hours back ∙ 36 proposals |
Development of an analytical Power BI dashboard
45 USD
This is our request, we need a person who understands Power BI: Screen 1: Strategic Cockpit (Financial Health of the Plant) Goal: To understand in 5 seconds, "where are we losing money and how much?". KPI Tiles (Top Bar): Overall margin (Actual vs Plan) in %. Amount of "lost… Databases & SQL ∙ 5 days 17 hours back ∙ 13 proposals |