Home News Contact Us Forum About Us Demos Products F.A.Q.
Shopping Cart
You currently have 0 items in your cart.


Recent Events
  • 23/11/2024 Black Friday 2024

    BIG SALE, 30% discount for all our extensions. Use BF24 coupon code. Hurry up the discount is valid till 3 December.

  • 31/12/2023 New Year SALE

    We are glad to announce New Year SALE. 25% discount for all our extensions. Use NY24 coupon code. Hurry up the discount is valid till 7 January.


2Checkout.com, Inc. is an authorized retailer of goods and services provided by ARI Soft. 2CheckOut




Follow us on twitter



Welcome, Guest
Please Login or Register.    Lost Password?

Manually delete result data
(1 viewing) (1) Guest
component
Go to bottomPage: 12
TOPIC: Manually delete result data
#51728
Manually delete result data 10 Years, 1 Month ago Karma: 0
Hi
I am not an expert programmer, may i know how to delete result with success status thru database?
The administrator has disabled public write access.
 
#51729
Re:Manually delete result data 10 Years, 1 Month ago Karma: 760
Hello,

Use the following SQL query:

Code:


DELETE 
  SI,S,P,SF,SED 
FROM 
  #__ariquizstatisticsinfo SI LEFT JOIN #__ariquizstatistics S 
    ON SI.StatisticsInfoId = S.StatisticsInfoId
  LEFT JOIN #__ariquizstatistics_pages P
    ON SI.StatisticsInfoId = P.StatisticsInfoId
  LEFT JOIN #__ariquizstatistics_files SF 
    ON S.StatisticsId = SF.StatisticsId
  LEFT JOIN #__ariquiz_statistics_extradata SED 
    ON SED.StatisticsInfoId = SI.StatisticsInfoId
WHERE 
  SI.Status = "Finished" AND SI.Passed = 1



Regards,
ARI Soft
The administrator has disabled public write access.
 
#51730
Re:Manually delete result data 10 Years, 1 Month ago Karma: 0
Ok great, I tot it was only ariquizstatisticsinfo table. Is it right to delete specific user, i put UserID in where condition?
The administrator has disabled public write access.
 
#51731
Re:Manually delete result data 10 Years, 1 Month ago Karma: 760
Correctly.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#51769
Re:Manually delete result data 10 Years, 1 Month ago Karma: 0
Another question with deleting data, can we delete #__ariquizstatisticsinfo.Status with "Process" via Joomla Backend Panel?

I limited my user to take quiz for 1 hour and only 1 attempt.

Some of my data #__ariquizstatisticsinfo.EndDate is NULL and StartDate is already past 1 hour, and Status is Process.
The administrator has disabled public write access.
 
#51771
Re:Manually delete result data 10 Years, 1 Month ago Karma: 760
The extension doesn't support ability to delete active quiz sessions.

Regards,
ARI Soft
The administrator has disabled public write access.
 
Go to topPage: 12