Thanks in any case
Socio / Assoc is the ID of each team member of Motoclub
(mysqlt): SELECT count(*) from payments where 1 <> 1 (mysqlt): SELECT paymentID, memberID, payment_cbID, payment_timingID, payment_casusal_ID, payment_ledgerID, checkNumber, paymentDate, paydescr, amount_in, amount_out, currency, exchange_rate, note, cashin_type, cashout_type, account_ID, service_typeID, projectID, filedoc, filedoctext, fileimg, filesize, receiptID, receiptDate, InvoiceID, InvoiceDate, customerID, vendorID, amount_vat_escl, amount_vat_incl, amount_vat from payments WHERE (1 <> 1) order by paymentID DESC LIMIT 0,1 (mysqlt): SELECT memberID, concat(contactLastName, " ", memberName) FROM members WHERE year_card_actual = Year(CURDATE()) ORDER BY contactLastName, memberName (mysqlt): SELECT payment_cbID, concat(abbreviation, " - ", description) FROM payments_cb WHERE language_code = ‘it_IT’ ORDER BY payment_cbID (mysqlt): SELECT payment_casusal_ID, concat(abbreviation, " - ", description) FROM payments_causal WHERE language_code = ‘it_IT’ ORDER BY payment_casusal_ID (mysqlt): SELECT payment_timingID, concat(abbreviation, " - ", description) FROM payments_timing WHERE language_code = ‘it_IT’ ORDER BY payment_timingID (mysqlt): SELECT payment_ledgerID, concat(abbreviation, " - ", description) FROM payments_ledger WHERE language_code = ‘it_IT’ ORDER BY payment_ledgerID (mysqlt): SELECT service_typeID, descri FROM service_type WHERE language_code = ‘it_IT’ ORDER BY descri (mysqlt): SELECT account_ID, concat(code, " - ", descri) FROM accounts ORDER BY sign DESC, code ASC, descri (mysqlt): SELECT projectID, description FROM projects ORDER BY description (mysqlt): SELECT payment_typeID, descri FROM payments_type WHERE sign = “+” AND language_code = ‘it_IT’ ORDER BY descri (mysqlt): SELECT payment_typeID, descri FROM payments_type WHERE sign = “-” AND language_code = ‘it_IT’ ORDER BY descri (mysqlt): SELECT currencyID, curr_abbrev FROM currencies ORDER BY curr_abbrev (mysqlt): SELECT CustomerID, CompanyName FROM customers ORDER BY CompanyName (mysqlt): SELECT SupplierID, CompanyName FROM suppliers ORDER BY CompanyName